Just wanted to check if this is a general problem, or a glitch with our system in particular.
If I enter rollback mode for the recent past (eg 30 minutes ago), and then look at the metadata for any asset with a metadata schema attached, then each metadata section, and each field within each section appears duplicated 9 times. If instead I enter rollback mode for 100 days ago, the metadata looks normal.
We're using Matrix 4.6.4
Has anyone else seen this?
On entering rollback mode, using Internet Explorer or Firefox, I also get a Javascript error:
document.forms[0] is undefined
http://www.antarctica.gov.au/__lib/js/state.js
Line 91
document.forms[0]['changes'].value = '0';
[quote]
I can replicate the issue of duplication of metadata sections. It is strange. I will file a bug report and investigate.[/quote]
The issue can be replicated only in a system with unexpected/erroneous entries in the rollback table, i.e. if there are more than one "open" entries (link between metadata schema and section asset) in the rollback link table.
Rollback table stores the timestamp for each entry regarding "since when" and "till which" point the given entry is/was effective. Open entry means the one that is currently effective and will have empty "effective till" value. For a given link, rollback table is not supposed to have more than one open entries, otherwise it will imply that multiple instances of given link are currently effective, which makes no sense.
To fix the issue we need to fix the cause i.e. stop rollback from creating multiple "open" entries for given link. However I am not able replicate this issue so far. No matter how I update the link, rollback always closes the last opened rollback entry before creating the new open one, as expected.
We will need a scenario in which the rollback create the new open entry with closing the last open entry in the rollback table.