Project

General

Profile

Actions

Bug #2563

open

Multiple repeated delimiter info not saved

Added by Dan Higgins over 17 years ago. Updated almost 14 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.

Actions #1

Updated by ben leinfelder over 14 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>
...........

Actions #2

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

Actions #3

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2563

Actions

Also available in: Atom PDF