+++ This bug was initially created as a clone of Bug #450658 +++ Description of problem: If preferred language is Japanese (not English; locale != US), custom errata cannot be created because of the internal error. Version-Release number of selected component (if applicable): spacewalk 0.1 (rhn-java-sat-0.1-3.el5, ...) How reproducible: always Steps to Reproduce: 1. Login RHN Satellite web with non-US (web browser) configuration 2. [Errata] -> [Manage Errata] 3. [create new erratum] 4. Fill out the forms and try to create an errata Actual results: Internal error Expected results: An errata is successfully created. Additional info: If preferred lang is English (US) and fill out the forms (with same values), no problem occurs. It seems that l10n-ed [Advisory Type] drop down menu item in the errata creation form causes this issue.
Created attachment 311233 [details] An experimental patch I created an experimental patch to disable advisoryTypes l10n. I also tryed to show l10n-ed labels but it's not work well yet and commented in the patch. I'm not familiar with neither Java nor Struts/JSP/... so that I might be doing something wrong. Anyway, could you please take a look at my patch? Also, I cannot look satellite's source and am not sure but it may be applicable to satellite, I think.
Created attachment 311481 [details] This is a patch fixes the problem and enable l10n-ed lables.
I attached another patch which fixes this problem and not disable l10n-ed labels. This should be better than the previous one, I think.
I'm in the process of testing the patch, I'll post back here once applied.
Patch applied to HEAD. http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7dd300ade36b67616229159a98be48b904fdf4ff Thank you for the contribution.
Placing on bug space02 as it already made it into Git before the branching, so it should have landed in 0.2.
Verified logout is working ok now in spacewalk 0.2.
Ugh, verified the wrong firefox tab. Sorry. Back to modified.
Spacewalk: Verified errata creation when browser set to Japanese
Note: the verification was on Spacewalk 0.2
Spacewalk is released for long time.