Niels,

It 's better now ;-)

The values in the WF-DB look like :

GLOBAL_KEY      ITEM_KEY        ITEM_TYPE       STRING_VALUE
osff_1  location        5       content/measures/smals/test/david.xml
osff_1  operation       5       n/a
osff_2  location        5       binaries/test/book.pdf
osff_2  operation       5       n/a

Thanks a lot!

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 16:49
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:
> 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.

I agree that the URI in the DB should start at /content or /binaries. 
The base URI is configured in [1] and [2], where I see a hardcoded 
postfix "/content"... :-(
Can you try removing "/content" and rebuild the CMS, and see if that 
works?
It could be that you do not use the default "localdev" configuration but 
a configuration of your own, in that case check the corresponding files 
to see what the base URI is.

[1] 
http://svn.hippocms.org/repos/hippo/hippo-cms/trunk/editor/src/configurations/localdev/projects/localdev/repositories/editorRepository.xml

[2] 
http://svn.hippocms.org/repos/hippo/hippo-cms/trunk/editor/src/configurations/localdev/projects/localdev/repositories/historyRepository.xml


Kind regards

Niels

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

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

Reply via email to