-Duser.language=en -Duser.region=US
https://jira.atlassian.com/
Symptoms
When running JIRA on Windows and selecting Turkish as OS regional format, JIRA can't save some Gadget configurations change (e.g. filter id, project id).When saving the configuration of 'Filter Results' Gadget, the 'filterId' is passed as '' in backend Insert SQL and saved blank in gadgetuserpreference table at DB side. SQL logging shows entries like the following in the logs:
INSERT INTO dbo.gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES ('10523', '10051', 'filterId', '')
[atlassian.jira.dashboard.JiraDashboardStateStoreManager ] Stored state for dashboard with id '10051' is not the same as in memory state. Trying to rewrite the entire state...
Steps to Reproduce
1. shutdown JIRA instance2. Go to Windows Console Panel, open 'Regional and Language Options', change Regional Format to 'Turkish'
3. reboot JIRA instance
4. Go to an own Dashboard, click 'Add Gadget' and add 'Filter Results' Gadget
5. In Dashboard, select filter for new added Gadget and save it, then get the filter results correctly displaying in new created Gadget
6. Move to another page, e.g. click on 'Projects'
7. Come back Dashboard page again, then find the just created 'Filter Results' Gadget needs to be re-configured
Workaround
Change the java user language settings to use US English instead of Turkish.Under Linux/UNIX/OS X
Edit your setenv.sh file and add the following options to your JAVA_OPTS setting:-Duser.language=en -Duser.region=US
When Running under Windows as a Service
- Find the Tomcat service ID for your JIRA instance by right-clicking
the service name in the Services control panel. You will see a string
like:
c:/path/to/tomcat/bin/tomcat5.
exe //RS//ABC123412341 - Paste the string into notepad or another tool
- Change the //RS// to //US//
- Add the following to the end of the command:
++JvmOptions="-Duser.language=
en -Duser.region=US" - Open a command shell
- Navigate to the binary directory for your tomcat installation
- Run the command you've created
- Restart the JIRA service
When Running under Windows (but Not as a Service)
Edit your setenv.bat file and add the following options to your JAVA_OPTS setting:-Duser.language=en -Duser.region=US
Hiç yorum yok:
Yorum Gönder