Description
Funny what pops up during testing sprints that you didn't expect:
If I create a Repository Item without an alias, the item gets indexed in Gemini, the triplestore, and Fedora just fine. I can update the item and all updates are persisted to the triplestore and Fedora. If I add an alias, Gemini keeps the old node URL and the new alias replaces the node url in Fedora's schema:sameAs. The triple-store, however, starts using the new alias as the URI for the node and all the old metadata for the original node URL just sits there.
If I create a Repository Item with an alias from the start, the alias is used in Gemini and is used in Fedora and the triplestore. If I ever change the alias the Gemini lookups start failing and Fedora will fail to update. The triplestore, as with the other case, simply starts using the new alias and leaves the old data sitting around.
What do we do about this, if anything, 🤷♂️ . Thoughts, @Islandora-CLAW/committers?