I added this as a separate issue since the other one was specifically about replacing files.
Aryan mentioned he added attributes/definitions to 2 of the entities, then when he clicked Submit, the dataset did not have a resource map and he couldn't edit it further.
The previous version also didn't have a resource map.
I looked through the version chain of the resource maps. Only the most recent one was not indexed. I re-indexed it, but when I observed it, it didn't have anything linking it to the metadata PID of urn:uuid:22befe5a-a564-48c0-8bb7-ff07f0136aa1.
rm.xml