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

Reply via email to