Details
-
Bug
-
Resolution: Not an issue
-
Neutral
-
None
-
1.1
-
None
Description
Sometimes, while using groovy for publish content from website workspace, a PublicationException is launched and the message java.util.concurrent.ExecutionException: info.magnolia.publishing.exception.PublicationException: <ul><li>null: null</li></ul> is thrown.
It's not easy to reproduce because it looks like it mostly depends on the page name. Creating a page called "publish-me" and then executing the snippet below triggers the exception.
cm = info.magnolia.commands.CommandsManager.getInstance() command = cm.getCommand('activate') command.setRepository('website') command.setPath('/publish-me') command.execute(ctx)
Other page names like "intranet" won't get published.
The exception is launched by the class AbstractSender, method send, line 155 is throwing the nullPointer:
getOperationByName(PUBLISH) : getOperationByName(UNPUBLISH);
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
DOCU-1967 Commands: wrong example of execution through groovy
-
- Closed
-