Defect #15125
closedTask properties are reverted when doing a task update from firefox.
0%
Description
We many unintended task property changes (the changes of one user is unintendedly reverted by another user).
To reproduce:- Open an issue from firefox.
- Open the same issue in another tab / browser / computer.
- From the second tab, update task properties that are selected from dropdown lists, such as "Status", "Priority", "Assignee" or "% Done".
- Hit F5 from the first tab. You will see that the task properties were updated successfully.
- Then, still in the second tab, click the "Update" link. You will see that still the old values are selected. Add some message and send the form, and the properties are now reverted.
It seems that Firefox, even after a page refresh, tries to remember the options selected by the user. To avoid this, a ctrl-F5 is needed. See also http://stackoverflow.com/questions/1479233/why-doesnt-firefox-show-the-correct-default-select-option
Files
Related issues
Updated by Mehmet Soyturk about 11 years ago
We many unintended task property changes
We get many ...
Reproduced with Firefox 24.0.
Updated by Toshi MARUYAMA about 11 years ago
- Related to Defect #14621: AJAX call on the issue form resets data entered during the request added
Updated by Toshi MARUYAMA about 11 years ago
Updated by Mehmet Soyturk about 11 years ago
I don't know. I can reproduce it with our internal redmine install (for which I'm just a user and I don't know its version number), and from http://demo.redmine.org (see http://demo.redmine.org/issues/25923).
Updated by Mehmet Soyturk about 11 years ago
Updated by Jean-Philippe Lang about 11 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
Firefox preserves the selected form elements when hitting F5 by design. So when you hit F5 from the first tab, the old values that were present on the issue form are preserved. Use Ctrl+F5 instead to reload the form without preserving selected values.
Updated by Toshi MARUYAMA about 10 years ago
- Has duplicate Defect #18011: Firefox: Value of a field not updated properly when hitting F5 added
Updated by Mehmet Soyturk over 5 years ago
- File _edit.html.erb.patch _edit.html.erb.patch added
Hi.
I was going to share our patch that fixes the issue, but couldn't because Redmine did not allow me to do so at that time (because the task was closed). Let me retry.
We have used the patch for 5 years without any issue. With a recent RedMine upgrade we have lost that change and the issue reappeared.
Kind regards.