Red Hat Bugzilla – Bug 591988
Error messages with 1 error rendering incorrectly in UI
Last modified: 2013-10-01 17:53:00 EDT
So for example go to http://<FQDN>/rhn/activationkeys/Create.do and enter -1 in the Usage Limit and hit create button. Notice the dot before "Usage Limit cannot be less than 0." error. Even though there is only one error it wants embed the error with a <ul><li>. We need to change the error logic to say, if its a single error change it to just render the error without UL and Li, if its more than 1 then use UL LI..
fixed in spacewalk.git: 7a8d77b63d95a9d6a37ca064eb2ce8378f753728
I've removed dots at start of errors, as they're rendered on new line each.
Created attachment 802736 [details]
VERIFIED on satellite-branding-18.104.22.168-1.el6sat
REPRODUCED on satellite-branding-22.214.171.124-1.el6sat
Satellite 5.6 has been released. This bug was tracked under the release.
This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.