El jue, 02-03-2006 a las 14:43 +0100, Thorsten Scherler escribió: > El jue, 02-03-2006 a las 14:37 +0100, Michael Wechner escribió: > > Thorsten Scherler wrote: > > > > >Hi all, > > > > > >when I use the new feature of the configurable content dir. > > ><content-dir > > >src="/home/USERNAME/data/default"/> > > >then I cannot add any assets anymore. > > > > > >Well I can but lenya is not finding them anymore. ;-) > > > > > >The weird thing is that the asset will be added to: > > >/home/USERNAME/data/default/contentes > > > > > >The es *can* be my default language, but I am not sure. > > > > > >Somebody can see the same and maybe knows how to fix it? > > > > > > > > > > well, I guess there must be some FileSystem call, which should be > > replaced by the SourceNode interface. Unfortunately one cannot just > > do a search and replace. > > > > But in order to find all the locations where we should fix this one can > > comment within > > > > src/java/org/apache/lenya/cms/publication/Document.java > > > > getFile() > > > > and re-compile and then you will where one has to fix stuff, resp. > > > > use getSourceURI() > > > > HTH > > Thanks very much. > > Not the answer I liked to hear. ;) > > Will do then try and error.
Well yesterday I did the above but my actual problem does not seem to be directly related. I am now debuging the lenya source protocol because I figured out that "resources" has 9 letters "content" has 7 now I think we did in some place substring()/replace and that is resulting in "contentes" (9 letter). I have the sneaking suspicion that http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java?rev=381171&r1=381170&r2=381171&view=diff is causing this bug. wdyt? salu2 -- Thorsten Scherler COO Spain 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]
