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

  (obayok)

Number of messages  11
Registration date
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...

  (fabu)

Number of messages  28
Registration date
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"

  (obayok)

Number of messages  11
Registration date
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  262
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?

  (obayok)

Number of messages  11
Registration date
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  262
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 :/.

  (peleq)

Number of messages  1
Registration date
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