Project

General

Profile

Actions

Bug #6583

closed

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

Added by Jing Tao over 9 years ago. Updated over 9 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.

Actions #1

Updated by Jing Tao over 9 years ago

  • Assignee set to Jing Tao
Actions #2

Updated by Jing Tao over 9 years ago

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

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.

Actions

Also available in: Atom PDF