Thorsten Scherler wrote:
El vie, 10-03-2006 a las 14:25 +0100, Andreas Hartmann escribió:
Thorsten Scherler wrote:
[...]
Yeah, to move the meta to
lenya://lenya/pubs/myPub/content/authoring/index/index_en.xml.meta but
that does make 0% sense for custom mapping if I want this location I
would not write a custom mapper.
The hard-coded location applies only to the meta sources.
The location of the actual document sources is determined by
your custom DocumentIdToPathMapper.
Well the problem is now with my pub that you cannot create any pages
anymore because the meta data file will be written to a different
location then I need.
That's very strange. Do you access the meta data files directly?
No, it happends in the DocumentManagerImpl.java. When add() is called.
We have now 2 *different* ids when we use custom mapping.
You're right :(
The problem is in SourceNode:
protected String getMetaSourceURI() {
return getSourceURI() + ".meta";
}
That won't work.
I'll take a look.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]