Issue Bug Needs Feedback Stale

#88008Clicking "Save and close" in the popup after selecting another backend module loads the previous module

S P 03/26/19, 12:47 updated 05/29/26, 07:13

Description

I did this:
  • 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

  1. Frank Nägler commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2019-05-13T08:32:35+00:00" > 05/13/19, 08:32 </span>

    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.

  2. 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.

  3. 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]

  4. S P commented and changed TYPO3 Version 12 13 <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.