Hi David,

[EMAIL PROTECTED] wrote:
We try to attach a custom workflow with our assets but we couldn't have any available actions on our workflow's box ;-(

In the log "hippo-cms-v6.05.00\cocoon\WEB-INF\logs\sitemap.log.2007_12_24.log" we find the next warning:

20071224154504083 WARN sitemap.generator.availableactions (localhost:50000/workbench/remoteCallAjax/explorer/actionsform/binaries/test/project.xml) main-9/AvailableActionsGenerator: Location of document (webdav://hippocms.smals-mvm.be:80/fotwerk/files/fotwerk.preview//binaries /test/project.xml) does not match location property of workflow 23 (http://hippocms.smals-mvm.be:80/fotwerk/files/fotwerk.preview/binaries/test/project.xml) 20071224154505380 WARN sitemap.generator.availableactions (localhost:50000/workbench/remoteCallAjax/explorer/actionsform/binaries/test/project.xml) main-9/AvailableActionsGenerator: Location of document (webdav://hippocms.smals-mvm.be:80/fotwerk/files/fotwerk.preview//binaries /test/project.xml) does not match location property of workflow 24 (http://hippocms.smals-mvm.be:80/fotwerk/files/fotwerk.preview/binaries/test/project.xml)

It very strange to find a double "/" in the URL and most of it, Hippo from 6.04 is supposed to use relative URIs in the workflow database ( http://hippocms.org/display/CMS/Hippo+CMS+v6.03+to+v6.04+upgrade+path). So, any ideas of what's going wrong?

Indeed the double slash is the reason you do not get any workflow actions: the URI of the asset does not match the URI stored in the workflow DB. I am not sure why this happens. The check is done in the AvailableActionsGenerator [1]. Apparently the URI that Cocoon passes to the generator contains "//". I would have to dive into the code for this. Also to see why the URI is absolute instead of relative.

Does it happen only with assets or also with documents?

[1] http://svn.hippocms.org/repos/hippo/hippo-workflows/trunk/cms-workflow/src/java/nl/hippo/cms/workflow/AvailableActionsGenerator.java

Kind regards and happy holidays :)

Niels

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to