Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Turing Sprint 166, Turing Sprint 167, Turing Sprint 168
Description
Current situation
When the edit icon is clicked a POST request is made to [origin]/cms/ws/content/documents/[uuid]/draft. If the document has been locked a response like below is returned:
{ "reason": "OTHER_HOLDER", "Params": { "Object": { "displayName": "Xmas Tree", "userName": "user", "Id": "editor" } } }
Some methods in org.onehippo.cms.channelmanager.content.document.util.EditingUtils should be amended to show to feedback concerning in use by project.
In the frontend code new error codes and translations should be added :
rightSidePanel/rightSidePanel.controller.js
i18n/en.json
For now, only show the projectName, but not the project state.
Attachments
Issue Links
- relates to
-
CHANNELMGR-1549 Show feedback when document is edited in core
- Closed
- waits for
-
CHANNELMGR-1529 Make sure the channel mgnr invokes workflow #hints and #transition including the contextPayload
- Closed