Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
working with ContentTypes and found out this:
Document dMySelf = new Document(1091); Response.Write(dMySelf.ContentType.ParentId); //correctly prints the ID of the parent
Document dMySelf = new Document(1091); Response.Write(dMySelf.ContentType.Parent.Id); //throws error No newParent node
Of course the parent exists, since I can get the ID.
Hey Joao,
I'm not sure if this is a question?
If you're stating it's a bug please report it here http://issues.umbraco.org/
If it's a question, then I'm not sure what reponse you are looking for?
Rich
Dear Rich,
thanks for the link, I was trying to understand if this is a common problem that also other users encounter, so I could confirm that is a bug and not just my umbraco setup.
I'll report it, thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbraco v6 - Document.ContentType.Parent not working properly?
Hello,
working with ContentTypes and found out this:
Of course the parent exists, since I can get the ID.
Hey Joao,
I'm not sure if this is a question?
If you're stating it's a bug please report it here http://issues.umbraco.org/
If it's a question, then I'm not sure what reponse you are looking for?
Rich
Dear Rich,
thanks for the link, I was trying to understand if this is a common problem that also other users encounter, so I could confirm that is a bug and not just my umbraco setup.
I'll report it, thanks
is working on a reply...