Jürgen Ragaller wrote:

Am 30.05.2007 um 15:19 schrieb Andreas Hartmann:

Jürgen Ragaller schrieb:

Am 30.05.2007 um 14:54 schrieb Andreas Hartmann:

Andreas Hartmann schrieb:
Jürgen Ragaller schrieb:
Hi


Currently the site tab is not working properly (opening subtrees,
clicking on documents etc.). Is it not in sync. with the latest change of the uri-scheme (lenya-document:{uuid})? The errors can be reproduced
on the zones server.

I guess it's due to the latest changes in the sitetree module.
I'll take a look at it.

The changes to sitetree2nav.xsl were not compatible with the
sitetree generation for the site tab. Now the UuidToUrlTransformer
is configurable and used for this scenario as well.


Works better: The «opening of subtrees» is working now. But the click on a document name does not do much; the focus stays on the «authoring» node.

Strange, it works in my local sandbox ... Did you try clearing
the browser cache?

upps - I'm sorry; I did a clean build and «pling» it also works on my box.

Jürgen


There are still problems. To replicate, turn on uploads, upload a file, then go to it via the site tab. If everything works, go to another node, then back to the uploaded node. This should cause the error. Upload a PNG or JPEG and I get this when trying to view it from the site tab:

"file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecases.js", line 71: Can't find method $Proxy27.release(org.mozilla.javascript.Undefined).

org.apache.cocoon.ProcessingException: Sitemap: error calling function 'executeUsecase' at <map:call> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:95:45 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:57:131 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:306:105 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:644:106

cause: org.mozilla.javascript.EvaluatorException: "file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecases.js", line 71: Can't find method $Proxy27.release(org.mozilla.javascript.Undefined).

Upload a PDF, .cf (SA rule file), Perl, or txt file and I get:

String index out of range: -1

org.apache.cocoon.ProcessingException: Sitemap: error calling function 'executeUsecase' at <map:call> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:95:45 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:57:131 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:306:105 at <map:mount> - file:/var/tmp/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:644:106

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1768)
        at 
org.apache.cocoon.www.lenya.modules.opendocument.config.menus.opendocument_xsp.generate(org.apache.cocoon.www.lenya.modules.opendocument.config.menus.opendocument_xsp:368)
        at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:228)


Richard

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

Reply via email to