Error: DocumentType with alias 'Folder' has no propertyType with alias 'umbracoNaviHide'
I have just made a copy of my website so I now have two 100% identical umbraco installtions running side by side. I have setup Courier to transfer from one site to another with great success.. yay!
However, for a specific DocType created with the name "Folder" and alias "Folder" I get the following error when I try to transfer Content Nodes of this DocType: DocumentType with alias 'Folder' has no propertyType with alias 'umbracoNaviHide'. I have checked and doublechecked, both umbraco installations contains the DocType and it has the property 'umbracoNaviHide' all right.
Other DocTypes has the 'umbracoNaviHide' property as well, but are transferred without any problems.
It's likely that Courier finds the mediatype "Folder" first. Unfortuantely there's no validation on doc/media type aliases and as the mediatype "Folder" is default in the Umbraco installation and as they inherit from the same baseclass, Courier finds the MediaType first.
It's obviously a bug in Courier (and a bug in core that you can have multiple types with same alias!) and I'll see if a fix can be included in 1.2!
I thought about that after posting this, as I could imagine the duplicate alias causing a problem like this. We of course have the Folder MediaType in the installation.
I will rename the DocType alias and see if the problem is solved, which I much suspect it will be.
Thank you for confirming the issue.
Btw, I will create a issue in CodePlex for the umbraco project about the duplicate alias issue in core.
Error: DocumentType with alias 'Folder' has no propertyType with alias 'umbracoNaviHide'
I have just made a copy of my website so I now have two 100% identical umbraco installtions running side by side. I have setup Courier to transfer from one site to another with great success.. yay!
However, for a specific DocType created with the name "Folder" and alias "Folder" I get the following error when I try to transfer Content Nodes of this DocType: DocumentType with alias 'Folder' has no propertyType with alias 'umbracoNaviHide'. I have checked and doublechecked, both umbraco installations contains the DocType and it has the property 'umbracoNaviHide' all right.
Other DocTypes has the 'umbracoNaviHide' property as well, but are transferred without any problems.
Can anyone confirm this issue?
Kind regards
Dennis Milandt
It's likely that Courier finds the mediatype "Folder" first. Unfortuantely there's no validation on doc/media type aliases and as the mediatype "Folder" is default in the Umbraco installation and as they inherit from the same baseclass, Courier finds the MediaType first.
It's obviously a bug in Courier (and a bug in core that you can have multiple types with same alias!) and I'll see if a fix can be included in 1.2!
I thought about that after posting this, as I could imagine the duplicate alias causing a problem like this. We of course have the Folder MediaType in the installation.
I will rename the DocType alias and see if the problem is solved, which I much suspect it will be.
Thank you for confirming the issue.
Btw, I will create a issue in CodePlex for the umbraco project about the duplicate alias issue in core.
Kind regards
Dennis Milandt
is working on a reply...