Bug #88875
closedModal Page altered not shown everytime
100%
Description
When you alter data in a CE and leave the CE via "Close" button, it shows a modal with "You have unsaved changes, would you like to save and close, continue editing, or discard them".
However, this is not always shown.
So far I have not identify when it shows and when not, however It works on some flexform fields and on some it doesnt.
For instance the ext:news (version 7.2.0) adds a flexform field "Max width for media elements" for FE Plugin "List of selected items". If you enter data in there and decide to close the CE, it shows the modal.
If you enter data via the wizard for the field "PageId for single news display" however, the modal is not shown and you simply silently discard the changes to the plugin - leaving the CE without saving.
So my best guess its some kind of flexform wizard thing maybe.
Tested versions:
Standard ext:news 7.2.0
TYPO3 9.5.8
nginx-fpm with php 7.2.19
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #86611: TYPO3 does not ask, if changed but unsaved "Shortcut Target" should be saved added
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #88719: Close should recognize non-saved record - but fails added
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #87385: No "Do you want to close without saving?" warning if changing date/time fields added
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #88776: RTE field in flexform is not detected as "dirty" when close element added
Updated by Anonymous over 5 years ago
- RTE
- PageID-Wizard
- DateTime
Is this list complete? Can anyone confirm that behaveior?
Updated by Riccardo De Contardi over 5 years ago
In fact, the "shortcut target" mentioned on #86611 is solved, the issue mentions other two places where this problem occurs:
1) [...] removing a record from a multi select field. E.g. wehn I remove a static template from a sys_template record.
2) edit the content of some RTE text in "source code" mode and then hit close without saving
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61450
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61456
Updated by Andreas Fernandez over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 35c8bd81a385e89b99e71fe3faf4cc39f379423c.
Updated by Daniel Siepmann about 5 years ago
- Has duplicate Bug #86922: Save modal does not appear for some input types added
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #88978: Close CE "Text & Media" after maximize and change won't save added
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #88789: Include basis template dos not respect change on new record added
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed