Thanks Jeroen,
I have tried creating a clean project with th 12.6.7 archetype, but getting a “The desired archetype does not exist” error. I don’t think the open source CMS has been released yet.
I did however create a clean project of 12.6.6 and added my custom class that extends DocumentWorkflowImpl, which then makes it the only change to the project.
The “requests” entry is still missing from the hints map.
If by customization of SCXML you are referring to changes to: /hippo:configuration/hippo:modules/scxmlregistry/hippo:moduleconfig/hipposcxml:definitions/documentworkflow
we have made no changes to that. The only other change we made was to add our custom class to “hipposys:classname” in:
/hippo:configuration/hippo:workflows/default/handle
Perhaps a snippet from the custom class code may point to the problem?
@Override
public Map<String, Serializable> hints() throws WorkflowException {
log.debug("hints()");
Map<String, Serializable> hints = super.hints();
log.debug("hints: {}", Arrays.asList(hints).toString());
for (String hint : hints.keySet()) {
log.debug("Hint key [{}], value [{}]", hint, hints.get(hint));
}
...
}
This outputs:
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:137] hints()
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:139] hints: [{branch=true, checkModified=true, checkoutBranch=false, commitEditableInstance=false, copy=true, delete=true, depublish=false, depublishBranch=false, disposeEditableInstance=false, getBranch=false, hints=true, isLive=false, listBranches=true, listVersions=true, move=true, obtainEditableInstance=true, previewAvailable=true, publish=true, publishBranch=true, reintegrateBranch=false, removeBranch=false, rename=true, requestDelete=true, requestDepublication=false, requestPublication=true, restoreVersion=true, restoreVersionToBranch=true, retrieveVersion=true, status=true, unlock=false, version=true, versionRestoreTo=true}]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [branch], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [checkModified], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [checkoutBranch], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [commitEditableInstance], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [copy], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [delete], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [depublish], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [depublishBranch], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [disposeEditableInstance], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [getBranch], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [hints], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [isLive], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [listBranches], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [listVersions], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [move], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [obtainEditableInstance], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [previewAvailable], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [publish], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [publishBranch], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [reintegrateBranch], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [removeBranch], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [rename], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [requestDelete], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [requestDepublication], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [requestPublication], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [restoreVersion], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [restoreVersionToBranch], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [retrieveVersion], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [status], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [unlock], value [false]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [version], value [true]
[INFO] [talledLocalContainer] 01.11.2019 13:49:57 DEBUG http-nio-8080-exec-5 [MakerCheckerDocumentWorkflowImpl.hints:142] Hint key [versionRestoreTo], value [true]