Niels, Exact, only on assets.
On the XML documents, the workflow box is ok and the value store in the WF-DB look like: measures/smals/test/david.xml But isn't it a best practice to store the value from "/content" to make the difference between the asset (URI starting with /binaries") and the XML content (URI starting with "/content"). Ex: content/measures/smals/test/david.xml Imagine we create an asset and an xml document with the same display_name located under default.preview/content/test.xml and measures/smals/test/david.xml. The values in the WF-DB will identical and it will not be possible to make the difference and the worflow's box may be wrong. Thanks Niels, David Calcus Smals - F. Manini - Web Content Management Rue du Prince Royal 102, 1050 Bruxelles [EMAIL PROTECTED] +32 (0)2 787 54 92 ______________________________________________________________________________________________ Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in geen geval een erkenning van welkdanige aansprakelijkheid in. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Smals décline toute responsabilité quant à l'exactitude, à l'exhaustivité et au délai de transmission des informations contenues dans cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle qu'elle soit. Ce message s'adresse uniquement au destinataire. Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message. Niels van Kampenhout <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 27/12/2007 15:27 Please respond to Hippo CMS development public mailinglist <[email protected]> To Hippo CMS development public mailinglist <[email protected]> cc Subject Re: [HippoCMS-dev] Workflow's assets 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 ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
