Thorsten Scherler wrote:

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. ;)

well, it's not a bug of the configurable content dir, but it
shows very nicely where we need to improve things ;-)

Michi

Will do then try and error.
Gracias.

salu2


--
Michael Wechner
Wyona      -   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]

Reply via email to