Close without saving link actually saves changes rather than cancelling the changes
CAMPSMITH opened this issue · comments
The close without saving link at the bottom of the editor for the SimpleContentPortlet saves and commits changes rather than cancelling / discarding the changes.
We are using uPortal 5.11, we also experienced this in 5.9
Steps to reproduce:
- Ensure you are privileged to configure a SimpleContentManagement portlet
- Select the configure option in the Options menu of the portlet to edit
- Change the content in the content editor.
- Scroll to below the portlet and press the Close without Saving (aka cancel) link.
- Portlet content commits the changes despite the Close without saving link
The link implies that the behavior should have been to cancel the edit and revert the portlet content to what it was prior to the user entering in the editing mode.
This issue has been resolved with PR: #458