Project

General

Profile

Bug #2563

Multiple repeated delimiter info not saved

Added by Dan Higgins about 14 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
10/10/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2563

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.

History

#1 Updated by ben leinfelder almost 11 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>
...........

#2 Updated by ben leinfelder over 10 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...

#3 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 2563

Also available in: Atom PDF