[daisy] [JIRA] Created: (DSY-359) giving a document a nodeID "edit"
makes it unaccessible
thomas l?rtsch (JIRA)
issues at cocoondev.org
Tue Sep 26 05:04:08 CDT 2006
giving a document a nodeID "edit" makes it unaccessible
-------------------------------------------------------
Key: DSY-359
URL: http://issues.cocoondev.org//browse/DSY-359
Project: Daisy
Type: Bug
Environment: 1.5-M1, debian sarge, intel, java version "1.4.2_10"
Reporter: thomas lörtsch
Priority: Minor
i named one of my documents edit.html. i gave it both a nodeID and a label "edit". that worked fine for some time, but after a restart of daisy (which i did perhaps improperly) i can't access the document edit.html and all other documents "under" it in the navigation path. the error says: "The continuation ID <name-of-document>.html is invalid." see full stack-trace below.
renaming the nodeID to "editing.html" helped.
>>>
marc replied to my post on the mailing list:
afaics lines 921-923 in
./applications/daisywiki/frontend/src/cocoon/webapp/daisy/sitemap.xmap
is causing this behaviour: the remainder of the url behind a part /edit/
is seen as a continuation id
by having a group-labelled 'edit' you are in fact unexpectedly
triggering this part of the sitemap that is normally in use when trying
to actually edit the page
I'ld suggest you create a Jira issue for this so we don't forget looking
into this (although my current feeling is that we probably will need
some kind of 'reserved' words anyway, so this might just boil down to
documentation and maybe runtime checking and warning)
In the mean time: do not use 'edit' (let me suggest 'authoring') as a
group label in your navigation trees.
>>>
Error
The continuation ID annotate.html is invalid.
Cocoon Stack Trace
Message: The continuation ID annotate.html is invalid.
context://daisy/sitemap.xmap - 803:40 <map:call>
Java Stack Trace
Message: The continuation ID annotate.html is invalid.
Class: org.apache.cocoon.components.flow.InvalidContinuationException
Stacktrace:
org.apache.cocoon.components.flow.apples.ApplesProcessor.handleContinuation (ApplesProcessor.java:97)
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke (CallFunctionNode.java:123)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:46)
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke (PreparableMatchNode.java:130)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:46)
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke (PreparableMatchNode.java:130)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:68)
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke (PipelineNode.java:142)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:68)
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke (PipelinesNode.java:92)
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process (ConcreteTreeProcessor.java:234)
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process (ConcreteTreeProcessor.java:176)
org.apache.cocoon.components.treeprocessor.TreeProcessor.process (TreeProcessor.java:248)
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke (MountNode.java:117)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:68)
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke (PipelineNode.java:142)
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes (AbstractParentProcessingNode.java:68)
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke (PipelinesNode.java:92)
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process (ConcreteTreeProcessor.java:234)
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process (ConcreteTreeProcessor.java:176)
org.apache.cocoon.components.treeprocessor.TreeProcessor.process (TreeProcessor.java:248)
org.apache.cocoon.Cocoon.process (Cocoon.java:679)
org.apache.cocoon.servlet.CocoonServlet.service (CocoonServlet.java:1153)
javax.servlet.http.HttpServlet.service (HttpServlet.java:689)
org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:428)
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter (WebApplicationHandler.java:830)
org.outerj.daisy.frontend.util.CharacterEncodingFilter.doFilter (CharacterEncodingFilter.java:35)
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter (WebApplicationHandler.java:821)
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicationHandler.java:471)
org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:568)
org.mortbay.http.HttpContext.handle (HttpContext.java:1530)
org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplicationContext.java:633)
org.mortbay.http.HttpContext.handle (HttpContext.java:1482)
org.mortbay.http.HttpServer.service (HttpServer.java:909)
org.mortbay.http.HttpConnection.service (HttpConnection.java:816)
org.mortbay.http.HttpConnection.handleNext (HttpConnection.java:982)
org.mortbay.http.HttpConnection.handle (HttpConnection.java:833)
org.mortbay.http.SocketListener.handleConnection (SocketListener.java:244)
org.mortbay.util.ThreadedServer.handle (ThreadedServer.java:357)
org.mortbay.util.ThreadPool$PoolThread.run (ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list