Shubhendu Tripathi has posted comments on this change.

Change subject: webadmin: Dont replace . with _ if error not in resources
......................................................................


Patch Set 2:

(1 comment)

....................................................
File 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/ErrorTranslator.java
Line 94:                     ret = errors.getString(errorMsg).replace("\n", 
"<br/>"); //$NON-NLS-1$ //$NON-NLS-2$
Line 95:                 } else {
Line 96:                     // The error message is not found in the errors 
map, revert to original one
Line 97:                     // without replacement of "." with "_"
Line 98:                     errorMsg = errMsgCopy;
That's correct. It could be moved to else clause.
Will do the changes and post the next patchset.
Line 99:                     if ((isDynamicVariable(errorMsg)) || 
(!changeIfNotFound)) {
Line 100:                         ret = errorMsg;
Line 101:                     } else {
Line 102:                         // just a message that doesn't have a value 
in the resource:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I68c8354c7fec9e8a85fbea47bd7e4586f49defdf
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Einav Cohen <eco...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to