Bug #2563
openMultiple repeated delimiter info not saved
0%
Description
There is now an eml element for saving info about repeated delimiters (i.e. 'collapseDelimiters') but apparently Morpho does not insert this element into the eml it creates or show it in the treeEditor.
Updated by ben leinfelder almost 15 years ago
it looks like there is code to put it in the additional metadata part of the EML doc.
but there were 18 entries of the same additional metadata block:
<additionalMetadata><describes>1261604888931</describes>
<metadata><consecutiveDelimiters>true</consecutiveDelimiters>
</metadata>
</additionalMetadata>
<additionalMetadata><describes>1261604888931</describes>
<metadata><consecutiveDelimiters>true</consecutiveDelimiters>
</metadata>
</additionalMetadata>
...........
Updated by ben leinfelder over 14 years ago
additionalMetadata for consecutive delimiters were being copied any time data entities were added/replaced. This could happen a few times during the course of an import and then would happen again and again as entities were edited in a DP.
I've now added a check when adding and replacing entities such that additionalMetadata is only copied if it does not already exist.
I do note that there's no current mechanism to remove this bit of additionalMetadata if an entity is removed from the datapackage. That should probably be considered...