J. Wolfgang Kaltz wrote:
Andreas Hartmann schrieb:

[...]

Wouldn't that imply that the blog pub should have its own implementation of DocumentIdToPathMapper ?

It uses the SingleLanguageIdentityMapper, which is similar to the DefaultDocumentIdToPathMapper but doesn't add a language suffix to the source URIs.

The alternative is to force the blog entries to have the same close mapping between ids and uri paths as the default publication, so that the DefaultDocumentIdToPathMapper can be used for both publications. This is was I was trying to say in my earlier mail, making ids that match the source path, such as 2005/05/18/testA

But IIUC this is what you actually did, since the entry path creation logic was moved from the blog creator to the blog usecase; this way the id "path" is indeed the same as the URI path.

Yes, exactly.

[...]

Basically my pb started when trying to create a blog entry via URI instead of File, and the nodes were not locked, because getSourceURI() returned something else for the blog entries than their actual path.
IIUC that is no longer the case.

OK, I see.

-- Andreas


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to