Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
None
-
None
-
None
Description
Steps to reproduce:
- create a new image folder
- upload a new image 'water lilies' in this folder
- edit existing document myevent1
- in the body field using the image picker select the new image
- click done
- click edit
Image is not displayed
stacktrace:
01.10.2009 12:36:57 ERROR [org.hippoecm.frontend.plugins.xinha.services.images.X
inhaImage.createInitialModel():79] Error retrieving canonical node for imageNode
[content/documents/events/myevent1/myevent1[2]/defaultcontent:body/Water lilies.
jpg/Water lilies.jpg/hippogallery:picture]
javax.jcr.PathNotFoundException: content/documents/events/myevent1/myevent1[2]/d
efaultcontent:body/Water lilies.jpg/Water lilies.jpg/hippogallery:picture
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2598)
at org.hippoecm.repository.decorating.NodeDecorator.getNode(NodeDecorato
r.java:228)
at org.hippoecm.repository.decorating.checked.NodeDecorator.getNode(Node
Decorator.java:285)
at org.hippoecm.frontend.plugins.xinha.services.images.XinhaImage.create
InitialModel(XinhaImage.java:73)
at org.hippoecm.frontend.plugins.xinha.dialog.DocumentLink.<init>(Docume
ntLink.java:40)
at org.hippoecm.frontend.plugins.xinha.services.images.XinhaImage.<init>
(XinhaImage.java:53)
at org.hippoecm.frontend.plugins.xinha.services.images.XinhaImageService
$1.<init>(XinhaImageService.java:66)
at org.hippoecm.frontend.plugins.xinha.services.images.XinhaImageService
.createXinhaImage(XinhaImageService.java:66)
at org.hippoecm.frontend.plugins.xinha.dialog.images.ImagePickerBehavior
.respond(ImagePickerBehavior.java:42)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(Abstract
DefaultAjaxBehavior.java:297)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTa
rget.processEvents(BehaviorRequestTarget.java:100)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents
(AbstractRequestCycleProcessor.java:91)
at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(Plugi
nRequestCycleProcessor.java:31)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
ava:1175)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
355)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
va:200)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1115)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(Co
ncurrentLoginFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
61)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
66)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:53
4)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:522)
01.10.2009 12:37:26 ERROR [org.hippoecm.frontend.Main$5.decode():217] binary not
found content/documents/events/myevent1/myevent1/defaultcontent:body/Water lili
es.jpg/Water lilies.jpg/hippogallery:picture
01.10.2009 12:37:33 ERROR [org.hippoecm.frontend.Main$5.decode():217] binary not
found content/documents/events/myevent1/myevent1[2]/defaultcontent:body/Water l
ilies.jpg/Water lilies.jpg/hippogallery:picture
01.10.2009 12:37:43 ERROR [org.hippoecm.frontend.Main$5.decode():217] binary not
found content/documents/events/myevent1/myevent1[2]/defaultcontent:body/Water l
ilies.jpg/Water lilies.jpg/hippogallery:picture
01.10.2009 12:37:50 ERROR [org.hippoecm.frontend.Main$5.decode():217] binary not
found content/documents/events/myevent1/myevent1[2]/defaultcontent:body/Water l
ilies.jpg/Water lilies.jpg/hippogallery:picture