-
Bug
-
Resolution: Done
-
Low (View bug fix roadmap)
-
7.13.5, 8.3.3, 8.20.10, 9.10.0, 9.4.8
-
7.13
-
6
-
Severity 2 - Major
-
5
-
Issue Summary
From the Jira advanced settings, updating any setting by pressing return/enter from the keyboard it may revert other settings to their default value.
Steps to Reproduce
- Go to Jira Advanced Settings
- Change the value of jira.attachment.number.of.zip.entries
- Change the value of jira.clone.prefix and press ENTER from the keyboard
- The value of jira.attachment.number.of.zip.entries is reverted to default
- Go to Jira Advanced Settings
- Change the value of jira.date.time.picker.java.format
- Change the value of jira.data.picker.javascript.format and press ENTER from the keyboard
- The value of jira.date.time.picker.java.format is reverted to default
The issue is reproducible with all the Advanced fields at the following way:
Pressing ENTER on input field will revert first custom value from top to bottom.
Setting 10 custom values and then press enter on some value after them for 10 times - all 10 values will be reverted one after each other
I attached a screen recording of the issue:
Workaround
Modify the values by clicking the Update button in the UI.
One may also add the following JavaScript code to the announcement banner to prevent enter/return from working on this page.
<script type="text/javascript"> AJS.toInit(function(){ if (document.URL.indexOf("/secure/admin/AdvancedApplicationProperties.jspa") >= 0){ // Enabling workaround for JRASERVER-69900 preventing enter/return keypress AJS.$(document).keypress( function(event){ if (event.which == '13') { event.preventDefault(); } }); } }); </script>
- is related to
-
JRACLOUD-81553 Jira advanced settings may be reverted to the default value if another setting is updated by pressing return/enter in the keyboard
-
- Closed
-
- mentioned in
-
Page Failed to load
- relates to
-
PSR-869 You do not have permission to view this issue
Is fix for 9.4 (LTS) and 9.12 (LTS) planned?