Project

General

Profile

Bug #6583

Morpho doesn't enforce the users to input values of both the code and codeExplanation for the missingValueCode element

Added by Jing Tao over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
08/11/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

EML specification requires the both code and codeExplanation elements for the missingValueCode element. However, in the attribute editing panel, a user can only input the value for the codeExplanation without the value for the code in Morpho. This cause to create an invalid eml document.

We should enforce users to input both values.

History

#1 Updated by Jing Tao over 7 years ago

  • Assignee set to Jing Tao

#2 Updated by Jing Tao over 7 years ago

  • Target version set to 1.10.2
  • Status changed from New to Resolved

In the AttributePage.java, the enforcement code was added in the onAdvance method. Users should fill both of them if they filled one of them.

The code was committed to the 1.10 branch and the trunk.

Also available in: Atom PDF