United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6694707 The deployment toolkit redirect to a page in English
JDK-6694707 : The deployment toolkit redirect to a page in English

Details
Type:
Bug
Submit Date:
2008-04-28
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2008-07-16
Component:
deploy
OS:
generic,windows_xp
Sub-Component:
deployment_toolkit
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6,6u10
Fixed Versions:
6u10 (b28)

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
FULL PRODUCT VERSION :
None

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600] French edition

EXTRA RELEVANT SYSTEM CONFIGURATION :
Internet Explorer 6

A DESCRIPTION OF THE PROBLEM :
When the deployment toolkit javascript is used to install the JRE, you are redirected to a page in the English language even if your locale is French.

The redirected page I have is
http://java.com/en/download/windows_ie.jsp?host=java.com&locale=en

Note that if I go to http://java.com/getjava I'm correctly redirected to http://java.com/fr/download/index.jsp

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install the French edition of Windows and execute the script at
https://jdk6.dev.java.net/testDT.html (the one with deployJava.installLatestJRE(); )

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
redirection to http://java.com/fr/download/windows_ie.jsp?host=java.com&locale=fr
ACTUAL -
redirection to http://java.com/en/download/windows_ie.jsp?host=java.com&locale=en

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
https://jdk6.dev.java.net/testDT.html
---------- END SOURCE ----------

                                    

Comments
EVALUATION

The dt javascript has a variable which can be set to the desired locale:
deployJava.locale="es";
this will cause install page to be displayed to the desired language (in the above case, spanish).  This was defaulting to english, and I am changing it to default to null.
In the null case, I can test if the install page, http://java.sun.com/webapps/getjava/BrowserRedirect ,
will redirect to the deefault lauguage on the system or in the browser.
                                     
2008-06-23
SUGGESTED FIX

http://web-east.east/www/webrevs/ah22606/1.6.0_10/6694707.6697999/
                                     
2008-06-26



Hardware and Software, Engineered to Work Together