Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
3
-
Tiger Sprint 192
Description
A component with invalid changes (e.g. a required string field is made empty) can still be saved. Steps to reproduce:
- Edit the News List component on the 'news' page in the HAP
- Make the required field "News Document types" empty.
The 'Save' button becomes disabled because the value is now invalid - Click the 'X' button in the top-right corner to close the component.
A confirmation dialog appears: "'News List' has unsaved changes. Do you want to save or discard these changes?" - Click 'Save'
Expected: The confirmation dialog closes and a message is shown that saving failed, the component editor stays open.
Message text:
"Can't save document '<document name>', it contains an invalid value"
"Can't save document '<document name>', a required field is empty"
"Can't save document '<document name>', there are errors in field values"
Message button: OK
On OK the message closes and focus should (preferably) move to the first field in the visual editor that has an error (or
Actual: the invalid component values are saved and the right side panel is closed
Attachments
Issue Links
- relates to
-
CHANNELMGR-2124 User cannot discard invalid changes
- Closed
-
CHANNELMGR-2098 Add X-button for close to header of the right side panel
- Closed
-
CMS-12688 [Channel Manager] Make save always active
- Open