#88008Clicking "Save and close" in the popup after selecting another backend module loads the previous module
Description
- going to file module and open a file for editing metadata
- changed something, NOT saving
- clicking another backend module (I clicked “Backend users”)
- Popup appears because of unsaved changes
- up until now everything is fine
- But: clicking “Save and close” saves, but loads the old module, not the requested one! I ended up being in the file list module, not in the backend user module
I assume this behaviour is true for any module combination.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Clicking "Save and close" in the popup after selecting another backend module loads the previous module Resolves: #88008 Releases: main
History 13
-
Susanne Moog changed category <span data-processor="relativetime" data-value="2019-03-27T08:40:41+00:00" > 03/27/19, 08:40 </span>
-
Frank Nägler commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2019-05-13T08:32:35+00:00" > 05/13/19, 08:32 </span> -
S P commented <span data-processor="relativetime" data-value="2019-05-27T07:18:50+00:00" > 05/27/19, 07:18 </span>
IMHO, clicking “No, continue with editing” should stay at the current module. Both “leave” buttons (“save + close” and “no-save + close”) should go to the new module.
-
S P commented <span data-processor="relativetime" data-value="2019-07-12T07:21:34+00:00" > 07/12/19, 07:21 </span>
Any news on this?
-
S P commented <span data-processor="relativetime" data-value="2020-07-06T11:00:59+00:00" > 07/06/20, 11:00 </span>
Any news here?
-
S P commented and changed TYPO3 Version
910 <span data-processor="relativetime" data-value="2021-10-20T05:43:40+00:00" > 10/20/21, 05:43 </span>Still valid on v10.
-
S P commented and changed TYPO3 Version
1011 <span data-processor="relativetime" data-value="2022-08-18T05:33:53+00:00" > 08/18/22, 05:33 </span>Still valid on v11.
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-04-04T14:21:24+00:00" > 04/04/24, 14:21 </span>
When you don’t save and click some other modules, the modal triggered is the same that opens when you click on the “close” button.
I think this is more likely a new feature that would also require another modal window with a different title and text, something like maybe:
Do you want to save before leaving?
You currently have unsaved changes. You can either discard these changes or save and leave the current module.
[Cancel][Leave without changes][Save changes and leave] -
S P changed TYPO3 Version
1112 <span data-processor="relativetime" data-value="2024-10-16T06:39:14+00:00" > 10/16/24, 06:39 </span> -
S P commented <span data-processor="relativetime" data-value="2024-10-16T06:39:24+00:00" > 10/16/24, 06:39 </span>
Still valid in v12.
-
S P commented and changed TYPO3 Version
1213 <span data-processor="relativetime" data-value="2024-12-19T08:48:21+00:00" > 12/19/24, 08:48 </span>Behaviour still in v13. “Save and close” returns to the previosuly displayed module, not to the actually requested one.
-
S P commented and changed TYPO3 Version
1314 <span data-processor="relativetime" data-value="2026-05-29T07:13:22+00:00" > 05/29/26, 07:13 </span>Still in v14
I guess the behavior is ok and intended behavior.
The modal stop the process “go to another module” to prevent data loss. IIRC, there is no elegant way to change this.
I will ask some people regarding there opinion.