Broke Umbraco How do i find and delete phantom nodes
Hi Guys,
I copied some doc types and nuked the old ones in the backend so i could establish a better flow of properties..
The only problem with this was that some of the doctypes i nuked had elements in the tree that dissappeared.. now when i try and create a replacement element of the same doctype/name im getting:
Multiple controls with the same ID 'prop_pageTitle' were found. FindControl requires that controls have unique IDs.
is there any way i could just delete the offending nodes from the db? I can't seem to locate their data under umbracoNode or cmsContent
You should be able to either rename the duplicate property name in the document type. If it's throwing a ysod when you're trying to access it I think you should be able to just delete it then and recreate and you should be fine.
Otherwise I think it's a matter of digging in the database. I guess you need to find the tables that handle the document types - Unfortunately I'm not sure what they are...
The table is cmsPropertyType, check all rows with an alias 'pageTitle', and either rename the one to something else or delete one in which case you might need to update any references to that row.
Broke Umbraco How do i find and delete phantom nodes
Hi Guys,
I copied some doc types and nuked the old ones in the backend so i could establish a better flow of properties..
The only problem with this was that some of the doctypes i nuked had elements in the tree that dissappeared.. now when i try and create a replacement element of the same doctype/name im getting:
Multiple controls with the same ID 'prop_pageTitle' were found. FindControl requires that controls have unique IDs.
is there any way i could just delete the offending nodes from the db? I can't seem to locate their data under umbracoNode or cmsContent
Hi Tom
You should be able to either rename the duplicate property name in the document type. If it's throwing a ysod when you're trying to access it I think you should be able to just delete it then and recreate and you should be fine.
Otherwise I think it's a matter of digging in the database. I guess you need to find the tables that handle the document types - Unfortunately I'm not sure what they are...
/Jan
Hi Jan,
thanks so much for your reply.. ended up rummaging around in the db! all sorted!
thanks so much,
Tom
Hi Tom you're welcome
What tables did you alter in the database?
/Jan
The table is cmsPropertyType, check all rows with an alias 'pageTitle', and either rename the one to something else or delete one in which case you might need to update any references to that row.
Saving a documenttype solved this issue for me. In my case it was with umb v 4.7.2
is working on a reply...