-
Bug
-
Resolution: Fixed
-
Medium
-
8.20.0, 9.4.0, 9.12.0, 10.0.0
-
8.2
-
Severity 3 - Minor
-
Issue Summary
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Open create issue dialog
- Make the current form token to be invalid.
(for example, directly modifying the token in the page source/Elements tab; or performing the action in a new tab and then going back here). - Fill in the create issue form as usual.
- Submit.
- Missing XSRF token dialog will appear with 'Retry' button.
- Click 'Retry'.
https://www.loom.com/share/e068919ee2314d849667074ddcef9659
Expected Results
The form will be submitted as usual, i.e. either it'll close with a success flag or when 'create another' is checked, the form should stay with the form success message within.
Actual Results
Fortunately, the issue is created under the hood, so there's no data loss.
However, the form is broken since that action. A user cannot cancel/close it. A user doesn't know whether the issue was saved or data has been lost. A user can click 'Create' one more time and this may create duplicates under the hood.
Workaround
The recovery requires refreshing the page.