Ravi Nori has uploaded a new change for review.

Change subject: restapi : Bad error message - no link
......................................................................

restapi : Bad error message - no link

Incorrect xml posted to restapi results in
a cryptic error message stating

Request syntactically incorrect. See the link
description below for the correct usage:

The link refered to is an internal DetailedLink
entity and should not be shown to the user.

This patch changes the message dropping the
reference to link

Request syntactically incorrect. See the
description below for the correct usage:

Change-Id: Ib38d9c0853bbc487a13057125df8bbb1e9cc77f0
Bug-Url: https://bugzilla.redhat.com/1122591
Signed-off-by: Ravi Nori <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/30813/1

diff --git 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
index f7605f8..3de467f 100644
--- 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
+++ 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
@@ -17,7 +17,7 @@
 public class UsageFinder {
 
     private static final String RESPONSE =
-            "Request syntactically incorrect. See the link description below 
for the correct usage:";
+            "Request syntactically incorrect. See the description below for 
the correct usage:";
     private static final String UUID_REGEX =
             
"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}";
 


-- 
To view, visit http://gerrit.ovirt.org/30813
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib38d9c0853bbc487a13057125df8bbb1e9cc77f0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to