An issue has just starting occurring on one of our production CMS servers. We have an ECL MountPoint configured in our 'Schemas' Publication which get shared down to all publications. This has been working flawlessly for the last few months.
Yesterday, we stopped being able to browse any of the publications (Schemas Publication downwards) with the CME, and an error is raised in the message center and the event viewer pointing to a unique name constraint. The offending item is the Stub Schema in the folder defined by the Mount Point.
Has anyone else seen this issue? Any help greatly appreciated.
UPDATE: As this was urgent, I went ahead and tried some triage:
- I removed the MountPoint from the
ExternalContentLibraries.xml
and restarted the Service Host. This allowed me to access the CME again. - I tried to delete all the stub components (they are not yet being used by other components)
- Some of the items were localized (under what circumstances does an ECL stub get localized, and how can you prevent it?)
- I un-localized the remaining items and deleted the parents (so there were no stub components
- I added the Mount Point back and restarted the service host
BANG! no access to publications in the CME again.
- Removed the Mount Point again
- Deleted the Stub Schema from the configured folder and added MP back again and restart services
BINGO! the stub schema was recreated and everything works again.
So it seems like for some reason the ECL framework had lost track of my schema, and was trying to re-create it. Any idea how this can happen? I am worried this could happen again when we are no longer in a position to delete the stubs and the offending schema.