From fc7d2d0a5f5c1db4d126fb902008a83cc31e2e4e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 2 Aug 2018 11:07:59 +0100 Subject: [PATCH] JAL-3070 set host URL correctly from parsed description in web service UIinfo --- src/jalview/ws/rest/RestServiceDescription.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/rest/RestServiceDescription.java b/src/jalview/ws/rest/RestServiceDescription.java index 9268975..b07f3b6 100644 --- a/src/jalview/ws/rest/RestServiceDescription.java +++ b/src/jalview/ws/rest/RestServiceDescription.java @@ -521,8 +521,8 @@ public class RestServiceDescription { p++; } - details = new UIinfo(list[p + 1], list[p + 1], list[p], list[p + 2], - postUrl); + String action = list[p + 1], name = list[p], descrip = list[p + 2]; + invalid |= !configureFromServiceInputProperties(list[p + 3], warnings); if (list.length - p > 5 && list[p + 5] != null && list[p + 5].trim().length() > 5) @@ -542,6 +542,7 @@ public class RestServiceDescription p += 5; } } + details = new UIinfo(action, action, name, descrip, postUrl); return invalid ? -1 : p; } -- 1.7.10.2