When No Workflow, Explicit or Inherited, Exists (UI | UX) #137
Replies: 2 comments 1 reply
-
Hey @markadrake I think this is due to my assumption that the root node would always have a workflow configured, but that isn't always the case (assumption based on the sites I've built/used, where the homepage was the root node, not a child of the root node). This may already be fixed in the next release (v11/Umbraco.Workflow), will confirm and potentially port back down through 8/9 and 10. |
Beta Was this translation helpful? Give feedback.
-
On double checking, this appears to be fixed in v11, but I can't find exactly where the change was made. Issue would have been related to incorrectly checking whether a node has workflow configuration (likely fixed by a change to return an empty permissions list rather than null, given the client side checks the length of the permissions objects). So long as you're planning a v11 upgrade, this will be available soon. For now though, adding a workflow group to the root node will prevent the error. |
Beta Was this translation helpful? Give feedback.
-
1. Explicit Error Messages
If a user tries to initiate a workflow on a content node but no workflow is available, they are met with the following error message:
I would suggest a rewrite of this message. I'm sure there are many ways to rewrite this message to provide more context. Here is what I'd suggest:
2. Detect This Issue Early
Does any use case exist in which it makes sense to override the "Save and Publish" button, if a workflow does not exist?
If no workflow is available:
Beta Was this translation helpful? Give feedback.
All reactions