If you click Customize this page and then click Save without making any changes, you can lose the previous change made in the IPE.
To reproduce:
- Do a clean install of Panopoly 1.39 with demo content enabled.
- Log in as an administrator.
- Go to the Lovely Vegetables page in the main menu.
- Click Customize this page.
- Add a text widget to the sidebar and make it reusable (for convenience in re-testing).
- Click Save in the CTools modal.
- Check the box to create a new revision. Add the revision log message "Added text widget."
- Click Save at the bottom of the page.
- Note your new widget is displayed.
- Click Customize this page again.
- Click Save at the bottom of the page without making any changes.
- Note your new widget is still displayed.
- Refresh the page.
- Note your new widget is no longer displayed.
- Go to the Revisions tab.
- Note that the current revision is the one with the message "Added text widget."
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | panopoly_core-ipe-2nd-save-data-loss-2786553-4.patch | 656 bytes | cboyden |
Comments
Comment #2
cboyden commentedThis issue may be caused by #2462331: IPE insufficient for Panelizer (data loss when using revisions).
Comment #3
cboyden commentedHere's a patch to apply the patch to the Panels recipe in panopoly_core.
Comment #4
cboyden commentedNew patch to apply @dsnopek's new Panels patch in #2786553: Data loss: Saving in IPE without changes can cause previous change to be lost. See also #2786497: Warning about unsaved content when creating new revision in IPE for more things this patch will solve.
Comment #6
dsnopekCommitted! Thanks :-)