Jahia Dev Forum > cant create my node

0 (0 Good)
0 (0 Bad)

cant create my node

by  obayok »  2012/09/25 16:14

Hi all, i have created new node. For example:

description file

[my:gallery] > jnt:content, jmix:editorialContent, mix:title, jmix:tagged
 - jcr:title (string) mandatory

and the view in folderd my_gallery -> html ->gallery.jsp

But when i try to put this node to the page i have this error:

"Properties save failed  Cannot get node{http://www.weddix.de/jahia/nt/1.0}gallery"

 

Maybe do you know what is the problem?

 

Thanks

  • cant create my node
    2012/09/25 16:14

    obayok <div class="content editablePost" id="edit82fb23d5-f4a3-40dc-b55c-c7825443a5ac" title="Edit"> <p> Hi all, i have created new node. For example:</p> <p> description file</p> <p> [my:gallery] &gt; jnt:content, jmix:editorialContent, mix:title, jmix:tagged<br /> &nbsp;- jcr:title (string) mandatory</p> <p> and the view in folderd my_gallery -&gt; html -&gt;gallery.jsp</p> <p> But when i try to put this node to the page i have this error:</p> <p> &quot;Properties save failed&nbsp; Cannot get node{http://www.weddix.de/jahia/nt/1.0}gallery&quot;</p> <p> &nbsp;</p> <p> Maybe do you know what is the problem?</p> <p> &nbsp;</p> <p> Thanks</p> </div>

  • Number of messages  11
    Registration date Sep 25, 2012
    0 (0 Good)
    0 (0 Bad)

    Re : cant create my node

    by  fabu »  2012/09/26 08:25

    Hi all, i have created new node. For example:

    description file

    [my:gallery] > jnt:content, jmix:editorialContent, mix:title, jmix:tagged
     - jcr:title (string) mandatory

    and the view in folderd my_gallery -> html ->gallery.jsp

    But when i try to put this node to the page i have this error:

    "Properties save failed  Cannot get node{http://www.weddix.de/jahia/nt/1.0}gallery"

     

    Maybe do you know what is the problem?

     

    Thanks


     

    Hi obayok, 
     
    First of all, can you share your namespace definitions?
     
    And, I think, when you inherit of mix:title, you have already jcr:title property.
     
    Delete your mix:title inheritance...
  • Re : cant create my node
    2012/09/26 08:25

    fabu <blockquote> <div class="content editablePost" id="edit82fb23d5-f4a3-40dc-b55c-c7825443a5ac" title="Edit"> <p> Hi all, i have created new node. For example:</p> <p> description file</p> <p> [my:gallery] &gt; jnt:content, jmix:editorialContent, mix:title, jmix:tagged<br /> &nbsp;- jcr:title (string) mandatory</p> <p> and the view in folderd my_gallery -&gt; html -&gt;gallery.jsp</p> <p> But when i try to put this node to the page i have this error:</p> <p> &quot;Properties save failed&nbsp; Cannot get node{http://www.weddix.de/jahia/nt/1.0}gallery&quot;</p> <p> &nbsp;</p> <p> Maybe do you know what is the problem?</p> <p> &nbsp;</p> <p> Thanks</p> </div> </blockquote> <br /> <p> &nbsp;</p> <div> Hi obayok,&nbsp;</div> <div> &nbsp;</div> <div> First of all, can you share your namespace definitions?</div> <div> &nbsp;</div> <div> And, I think, when you inherit of mix:title, you have already jcr:title property.</div> <div> &nbsp;</div> <div> Delete your mix:title inheritance...</div>

  • Number of messages  28
    Registration date Sep 26, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re : cant create my node

    by  obayok »  2012/09/26 09:46

    I notice that when i deploy my templates to jahia then jahia can't do import of them

    [DocumentViewImportHandler] - Cannot import "/templateSets/myTemplate/templates/base/intro/main-content/custom-rows" due to missing node type definition "{http://www.my.de/jahia/nt/1.0}customRow"

  • Re: Re : cant create my node
    2012/09/26 09:46

    obayok <p> I notice that when i deploy my templates to jahia then jahia can&#39;t do import of them</p> <p> [DocumentViewImportHandler] - Cannot import &quot;/templateSets/myTemplate/templates/base/intro/main-content/custom-rows&quot; due to missing node type definition &quot;{http://www.my.de/jahia/nt/1.0}customRow&quot;</p>

  • Number of messages  11
    Registration date Sep 26, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re : cant create my node

    by  faissah »  2012/10/02 18:21

    Hi obayok,

    Could you answer fabu question:

    First of all, can you share your namespace definitions?

    Regards

    Fabrice  (faissah)

    Number of messages  264
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re : cant create my node

    by  obayok »  2012/10/04 06:52

    the problem was solve when i reintall jahia

     

    i don't understand a little bit which definitions do you want see?

  • Re: Re: Re: Re : cant create my node
    2012/10/04 06:52

    obayok <p> the problem was solve when i reintall jahia</p> <p> &nbsp;</p> <p> i don&#39;t understand a little bit which definitions do you want see?</p>

  • Number of messages  11
    Registration date Oct 4, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Re : cant create my node

    by  faissah »  2012/10/12 21:24

    Namespace definition, the default one is this one (first line of your definition.cnd):

    <jnt = 'http://www.jahia.org/jahia/nt/1.0'>

    Fabrice  (faissah)

    Number of messages  264
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re : Re: Re: Re: Re: Re : cant create my node

    by  peleq »  2012/12/19 13:14

    I encountered the same error when I wanted to create a content with a custom definition, and finally it really came from a mistake in definitions.cnd file.

    It took a little time to see it... I ended up thinking there might be some corrupted data, and so I should reinstall jahia with clean data ! But it wasn't necessary.

    The aim of this post is : read, watch and watch again your definitions.cnd file, because the problem could really come from there !

    In my case, I defined a choicelist property for my content with several values and a default value, that I removed after but without removing the default value ! And Jahia wasn't very explicit about the error :/.

  • Re : Re: Re: Re: Re: Re : cant create my node
    2012/12/19 13:14

    peleq <p> I encountered the same error when I wanted to create a content with a custom definition, and finally it really came from a mistake in definitions.cnd file.</p> <p> It took a little time to see it... I ended up thinking there might be some corrupted data, and so I should reinstall jahia with clean data ! But <strong>it wasn&#39;t necessary</strong>.</p> <p> The aim of this post is : read, watch and watch again your definitions.cnd file, because the problem could really come from there !</p> <p> In my case, I defined a choicelist property for my content with several values and a default value, that I removed after but without removing the default value ! And Jahia wasn&#39;t very explicit about the error :/.</p>

  • Number of messages  1
    Registration date Dec 19, 2012
    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