Thorsten Scherler wrote: [...]
...@@ -331,7 +346,9 @@ RepositorySource source = null; try { resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE); - source = (RepositorySource) resolver.resolveURI(getSourceURI()); + String sourceUri = getPublication().getSourceURI() + "/content/" + getArea() + + getId() + "/index_" + getLanguage() + ".xml"; + source = (RepositorySource) resolver.resolveURI(sourceUri); this.metaDataManager = source.getNode().getMetaDataManager(); } catch (Exception e) { throw new RuntimeException(e);This code change is not compatible with custom mapping.
It is compatible. You just have to move your meta files once.
We need use the Mapper to lookup the sourceURI.
No, you can't use the mapper, because the mapper has to access the document source extension. But this would require access to the meta data. You'll end up with a StackOverflowError. I already mentioned this problem a couple of times. -- 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]
