Project

General

Profile

Actions

Bug #2206

closed

Tree editor does not properly process additionalMetadata items when "trimming"

Added by Will Tyburczy about 19 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
09/22/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2206

Description

If a data package contains an additionalMetadata element (for example to define
a custom unit), the tree editor does not execute the "trim" function properly.
The editor insists that a value for the "any" element must be supplied, instead
of recognizing the element (in this example, unitList) that is intended to
replace it. If the user actually then fills in a value for the "any" element to
allow them to exit from the tree editor, invalid eml is generated. For example,
if you start with:

additionalMetadata | |
+--unitList | | | +(custom units defined in by the morpho wizard) |
+--describes

After the trim function is done, you are left with:

additionalMetadata | |
+--unitList | | | +(custom units defined in by the morpho wizard) |
+--ANY | | | +(whatever the user added to get the tree editor to exit) |
+--describes

This forces the user to create invalid eml to exit the editor, which would then
prevent them from saving the data package onto the knb.

Actions

Also available in: Atom PDF