Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-5733

Channel Manager: Blueprint - Two sub-site root content folders are created

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.22.00
    • 2.22.00
    • None
    • None
    • Go Green trunk

    Description

      1. Login to CMS as admin/editor
      2. Navigate to Channel Manager >> Click on "Add channel" >> Select "Sub-site" as channel
      3. Add below values in the next blueprint dialog
      Name - test02 subsite
      URL- http://localhost/site/test02subsite
      4. Below error message is shown which is as expected - The URL 'http://localhost/site/test02subsite' cannot be used because the parent URL 'http://localhost/site' is not used by any channel.
      5. Now change the URL to - http://localhost/test02subsite and click okay.
      6. Site is created which is as expected

      Issues
      1. In CMS two root folders are created in above steps (refer screenshot)
      2. Below stack-trace is shown
      3. Same stack-trace is shown when you do steps 1-6 for website channel (except that two root folders are not shown)
      ----------------------------------------------------------------------------------------------------------------------------------------

      [INFO] [talledLocalContainer] 19.12.2011 16:08:51 ERROR [org.hippoecm.hst.configuration.hosting.MountService.<init>():546] Skipping incorrect configured child mount for 'org.hippoecm.hst.configuration.model.HstNodeImpl@1a1f35f3'
      [INFO] [talledLocalContainer] org.hippoecm.hst.service.ServiceException: There is no preview configuration available for '/hst:hst/hst:configurations/rest'. Also it is not ending with the convention -preview. Cannot load a configuration for it
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.site.HstSiteService.findConfigurationPath(HstSiteService.java:137)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.site.HstSiteService.<init>(HstSiteService.java:74)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.hosting.MountService.<init>(MountService.java:502)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.hosting.MountService.<init>(MountService.java:540)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.hosting.VirtualHostService.<init>(VirtualHostService.java:240)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.hosting.VirtualHostsService.<init>(VirtualHostsService.java:203)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.model.HstManagerImpl.buildSites(HstManagerImpl.java:556)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.model.HstManagerImpl.getVirtualHosts(HstManagerImpl.java:234)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.channel.ChannelManagerImpl.load(ChannelManagerImpl.java:221)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.channel.ChannelManagerImpl.getChannels(ChannelManagerImpl.java:332)
      [INFO] [talledLocalContainer] at org.onehippo.cms7.channelmanager.channels.ChannelStore.getChannels(ChannelStore.java:317)
      [INFO] [talledLocalContainer] at org.onehippo.cms7.channelmanager.channels.ChannelStore.getTotal(ChannelStore.java:134)
      [INFO] [talledLocalContainer] at org.wicketstuff.js.ext.data.ExtJsonStore.readRecords(ExtJsonStore.java:70)
      [INFO] [talledLocalContainer] at org.wicketstuff.js.ext.data.ExtJsonStore.access$3(ExtJsonStore.java:69)
      [INFO] [talledLocalContainer] at org.wicketstuff.js.ext.data.ExtJsonStore$1.onRequest(ExtJsonStore.java:58)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:95)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
      [INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      [INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.ResourceRewriteFilter.doFilter(ResourceRewriteFilter.java:129)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662)

      [INFO] [talledLocalContainer] 19.12.2011 16:18:03 WARN [org.hippoecm.hst.content.beans.manager.ObjectConverterImpl.getObject():177] No Descriptor found for node '/'. Cannot return a Bean for 'rep:root'.
      [INFO] [talledLocalContainer] 19.12.2011 16:18:04 WARN [org.hippoecm.hst.content.beans.manager.ObjectConverterImpl.getObject():177] No Descriptor found for node '/'. Cannot return a Bean for 'rep:root'.

      [INFO] [talledLocalContainer] 19.12.2011 16:19:12 WARN [org.hippoecm.hst.core.linking.DefaultHstLinkCreator$HstLinkResolver.resolveAllCanonicals():644] There is no Mount available that is suited to linkrewrite '/content/documents/test01subsite/pages/home'. Return empty list for canonicalLinks..
      [INFO] [talledLocalContainer] 19.12.2011 16:19:12 WARN [org.hippoecm.hst.core.linking.DefaultHstLinkCreator$HstLinkResolver.resolveAllCanonicals():644] There is no Mount available that is suited to linkrewrite '/content/documents/test01subsite/pages/home'. Return empty list for canonicalLinks..

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              jsheriff Junaidh Kadhar Sheriff
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: