Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4685

I created a RSS portlet with a ' (apostrophy) in the name and got an error and couldn't use the portlet on the FULL page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • xCM 6.0.0
    • xCM 6.0.0
    • None

    Description

      Here is the exception I got :

      javax.jcr.RepositoryException: invalid path:/content/shared/mashups/Serge's content RSS: '/content/shared/mashups/Serge's content RSS' is not a valid path. ''' not a valid name character.: '/content/shared/mashups/Serge's content RSS' is not a valid path. ''' not a valid name character.
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:811)
      at org.jahia.services.content.JCRSessionWrapper.getItem(JCRSessionWrapper.java:139)
      at org.jahia.services.content.CacheListener.onEvent(CacheListener.java:111)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
      at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:422)
      at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:742)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1084)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:337)
      at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:340)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:312)
      at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:313)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1105)
      at org.jahia.services.content.JCRItemWrapperImpl.save(JCRItemWrapperImpl.java:114)
      at org.jahia.services.content.JCRNodeDecorator.save(JCRNodeDecorator.java:591)
      at org.jahia.ajax.gwt.filemanagement.server.helper.FileManagerWorker.createPortletInstance(FileManagerWorker.java:1440)
      at org.jahia.ajax.gwt.filemanagement.server.JahiaNodeServiceImpl.createPortletInstance(JahiaNodeServiceImpl.java:324)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:75)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
      Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/content/shared/mashups/Serge's content RSS' is not a valid path. ''' not a valid name character.
      at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:239)
      at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57)
      at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60)
      at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
      at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78)
      at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:697)
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:801)
      ... 63 more
      org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/content/shared/mashups/Serge's content RSS' is not a valid path. ''' not a valid name character.
      at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:239)
      at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57)
      at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60)
      at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
      at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78)
      at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:697)
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:801)
      at org.jahia.services.content.JCRSessionWrapper.getItem(JCRSessionWrapper.java:139)
      at org.jahia.services.content.CacheListener.onEvent(CacheListener.java:111)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      [08.05.09 12:50:01:610 CEST] 0000002d SystemOut O at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
      at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:422)
      at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:742)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1084)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:337)
      at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:340)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:312)
      at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:313)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1105)
      at org.jahia.services.content.JCRItemWrapperImpl.save(JCRItemWrapperImpl.java:114)
      at org.jahia.services.content.JCRNodeDecorator.save(JCRNodeDecorator.java:591)
      at org.jahia.ajax.gwt.filemanagement.server.helper.FileManagerWorker.createPortletInstance(FileManagerWorker.java:1440)
      at org.jahia.ajax.gwt.filemanagement.server.JahiaNodeServiceImpl.createPortletInstance(JahiaNodeServiceImpl.java:324)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:75)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
      at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
      [08.05.09 12:50:08:891 CEST] 0000002d SystemOut O 2009-05-08 12:50:08,891: INFO [Jahia] - Processed [/cms/op/edit/pid/4] user=[root] ip=[10.8.37.220] sessionID=[UyzvMjGuMkLdgcEAUmm6b31] in [109ms]
      [08.05.09 12:50:09:157 CEST] 0000002a SystemOut O 2009-05-08 12:50:09,157: WARN [ErrorLoggingFilter] - Requested resource is not available: /gwt/org.jahia.ajax.gwt.template.general.edit.Edit/gwt-dnd.css
      [08.05.09 12:50:09:173 CEST] 0000002e SystemOut O 2009-05-08 12:50:09,173: WARN [ErrorLoggingFilter] - Requested resource is not available: /gwt/org.jahia.ajax.gwt.template.general.edit.Edit/gwt-log.css
      [08.05.09 12:50:09:282 CEST] 0000002b SystemOut O 2009-05-08 12:50:09,282: INFO [RulesListener] - Executing rules for [/mySite/ContentPage_2/ContentPage_4/portlet/ContentContainer_4]
      [08.05.09 12:50:09:469 CEST] 0000002b SystemOut O 2009-05-08 12:50:09,469: INFO [RulesListener] - Rules executed for [/mySite/ContentPage_2/ContentPage_4/portlet/ContentContainer_4] in 187ms

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              shuber_old Serge Huber (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 6.0.0