Jahia Template Forum > Create a menu label...

0 (0 Good)
0 (0 Bad)

Create a menu label under 'home' in template set

by  bpironet »  2014/04/16 12:34

Dear all, 

I'm trying to create a 'menu label' under the 'home' page in my template set. 

Everything is OK until I try to deploy the template set with some pages under my menu label. 

I get this error: 

2014-04-16 14:24:32,895: ERROR [ContentManagerHelper] - No child node definition for archives found in node /sites/test_site/home/actualites
javax.jcr.nodetype.ConstraintViolationException: No child node definition for archives found in node /sites/test_site/home/actualites
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1276)
at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:111)
at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:37)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:1783)
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1743)
at org.jahia.services.content.JCRNodeWrapperImpl.addNode(JCRNodeWrapperImpl.java:669)
at org.jahia.services.templates.JahiaTemplateManagerService.templatesSynchro(JahiaTemplateManagerService.java:988)
at org.jahia.services.templates.JahiaTemplateManagerService.templatesSynchro(JahiaTemplateManagerService.java:1000)
at org.jahia.services.templates.JahiaTemplateManagerService.synchro(JahiaTemplateManagerService.java:841)
Could you please explain me what's wrong? 
 
Is this case not supported? 
 
Thank you very much,
Regards,
 
  • Create a menu label under 'home' in template set
    2014/04/16 12:34

    bpironet <p> Dear all,&nbsp;</p> <p> I&#39;m trying to create a &#39;menu label&#39; under the &#39;home&#39; page in my template set.&nbsp;</p> <p> Everything is OK until I try to deploy the template set with some pages under my menu label.&nbsp;</p> <p> I get this error:&nbsp;</p> <blockquote> <div> 2014-04-16 14:24:32,895: ERROR [ContentManagerHelper] - No child node definition for archives found in node /sites/test_site/home/actualites</div> <div> javax.jcr.nodetype.ConstraintViolationException: No child node definition for archives found in node /sites/test_site/home/actualites</div> <div> at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1276)</div> <div> at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:111)</div> <div> at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:37)</div> <div> at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)</div> <div> at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)</div> <div> at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:1783)</div> <div> at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1743)</div> <div> at org.jahia.services.content.JCRNodeWrapperImpl.addNode(JCRNodeWrapperImpl.java:669)</div> <div> at org.jahia.services.templates.JahiaTemplateManagerService.templatesSynchro(JahiaTemplateManagerService.java:988)</div> <div> at org.jahia.services.templates.JahiaTemplateManagerService.templatesSynchro(JahiaTemplateManagerService.java:1000)</div> <div> at org.jahia.services.templates.JahiaTemplateManagerService.synchro(JahiaTemplateManagerService.java:841)</div> </blockquote> <div> Could you please explain me what&#39;s wrong?&nbsp;</div> <div> &nbsp;</div> <div> Is this case not supported?&nbsp;</div> <div> &nbsp;</div> <div> Thank you very much,</div> <div> Regards,</div> <div> &nbsp;</div>

  • Number of messages  5
    Registration date Apr 16, 2014
    0 (0 Good)
    0 (0 Bad)

    Re : Create a menu label under 'home' in template set

    by  bpironet »  2014/04/16 12:46

    It seems that the error is caused by an old content having the same name. 

    I've renamed the menu label and now, everything publish correctly. 

     

    Regards,

  • Re : Create a menu label under 'home' in template set
    2014/04/16 12:46

    bpironet <p> It seems that the error is caused by an old content having the same name.&nbsp;</p> <p> I&#39;ve renamed the menu label and now, everything publish correctly.&nbsp;</p> <p> &nbsp;</p> <p> Regards,</p>

  • Number of messages  5
    Registration date Apr 16, 2014
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page