Details
-
Task
-
Resolution: Duplicate
-
Major
-
None
-
1.8.1
-
None
-
Unknown
-
Description
Even with the new workflow panel of XAWORKFLOW-48 there are a few improvements left:
- when you start a workflow when no parent is in a workflow, you get an error message 'The location of the published document should be different from the current one. Use the advanced options to select a different location.'. In that case it might be better to tell the user they need to choose a target page first, not after they try.
- sometimes starting a workflow fails with the following error message:
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'startWorkflow' in class org.xwiki.workflowpublication.internal.PublicationWorkflowService threw exception java.lang.NullPointerException at 135:xwiki:PublicationWorkflow.Script[line 64, column 46] [...] Caused by: java.lang.NullPointerException at org.xwiki.workflowpublication.internal.DefaultPublicationWorkflow.getDraftDocument(DefaultPublicationWorkflow.java:341) at org.xwiki.workflowpublication.internal.DefaultPublicationWorkflow.startWorkflow(DefaultPublicationWorkflow.java:513) at org.xwiki.workflowpublication.internal.PublicationWorkflowService.startWorkflow(PublicationWorkflowService.java:124)
Attachments
Issue Links
- duplicates
-
XAWORKFLOW-59 Perform move/rename/copy actions don't work
-
- Closed
-