Bug 454312 - Cannot create a custom errata if browser lang is Japanese
Cannot create a custom errata if browser lang is Japanese
Product: Spacewalk
Classification: Community
Component: WebUI (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Jesus M. Rodriguez
Red Hat Satellite QA List
Depends On:
Blocks: space02
  Show dependency treegraph
Reported: 2008-07-07 12:42 EDT by Satoru SATOH
Modified: 2009-09-17 02:59 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-09-17 02:59:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
An experimental patch (4.12 KB, patch)
2008-07-08 02:41 EDT, Satoru SATOH
no flags Details | Diff
This is a patch fixes the problem and enable l10n-ed lables. (6.97 KB, patch)
2008-07-10 09:25 EDT, Satoru SATOH
no flags Details | Diff

  None (edit)
Description Satoru SATOH 2008-07-07 12:42:12 EDT
+++ 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.
Comment 1 Satoru SATOH 2008-07-08 02:41:34 EDT
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.
Comment 2 Satoru SATOH 2008-07-10 09:25:55 EDT
Created attachment 311481 [details]
This is a patch fixes the problem and enable l10n-ed lables.
Comment 3 Satoru SATOH 2008-07-10 09:27:37 EDT
I attached another patch which fixes this problem and not disable l10n-ed labels.
This should be better than the previous one, I think.
Comment 4 Jesus M. Rodriguez 2008-08-06 17:22:04 EDT
I'm in the process of testing the patch, I'll post back here once applied.
Comment 5 Jesus M. Rodriguez 2008-08-06 17:45:52 EDT
Patch applied to HEAD. 


Thank you for the contribution.
Comment 6 Brandon Perkins 2008-09-04 16:34:45 EDT
Placing on bug space02 as it already made it into Git before the branching, so it should have landed in 0.2.
Comment 7 Devan Goodwin 2008-09-05 10:37:28 EDT
Verified logout is working ok now in spacewalk 0.2.
Comment 8 Devan Goodwin 2008-09-05 10:41:23 EDT
Ugh, verified the wrong firefox tab. Sorry. Back to modified.
Comment 9 Brad Buckingham 2008-09-05 14:55:25 EDT
Spacewalk: Verified errata creation when browser set to Japanese
Comment 10 Brad Buckingham 2008-09-05 14:57:42 EDT
Note: the verification was on Spacewalk 0.2
Comment 11 Miroslav Suchý 2009-09-17 02:59:29 EDT
Spacewalk is released for long time.

Note You need to log in before you can comment on or make changes to this bug.