Metadata Editor does not handle switch back to new document correctly [was #7548]
To reproduce:
- Authenticate
- Create a new object using File -> New Object. Wait until it and the MD editor load.
- In the Metadata editor, enter some metadata, e.g. Agent = you
- File -> Browse (scenario: Check metadata from somewhere else).
- From the navigator, open an XML file. I chose CWDS, Band 1, Lemma abkupsen from Campe-Wörterbuch Band 1.
- Metadata of this file appears in the metadata editor
- Switch to the new file's editor.
Now the metadata editor still contains the stuff from the abkupsen file, and I can't edit the new file's metadata.