Hello all,
I have updated our "CustomModel.xml" file (under Data Dictionary/Models) and added a new content type.
The content type has been defined having a parent cm:content.
The type name is defined e.g. as "temp:test" and the properties as "temp:tsfield1", "temp:tsfield2" etc.
Now I have also added the properties to the "live-search-docs.get.config.xml" and "search.get.config.xml" files, along with the "share-config-custom.xml" file.
My problem here is that I have named the content type "temp:test" in the "CustomModel.xml" but in the Advanced Search section of the "share-config-custom.xml" I have referred to it as "temp:ts". I had copied from our dev server but had to change the name and changed every instance of "test" to "ts" manually rather than replace all and missed the name,
Now since restarting Tomcat I am unable to revert the "CustomModel.xml" file, even though no files have been created as type "temp:test" or "temp:ts". When I try to change the name to "temp:ts" in the "CustomModel.xml" file I get an error message (translated from German:
Could not save content: 03305533 Failed to validate model update - found deleted TYPE '{http://alfresco..../model/content/1.0}temp'
Does anybody have any suggestions on how to fix this or be able to rollback.
No files have been created using the type "temp" and I couldn't find anything under deleted files either.
Thank you 🙂