Project

General

Profile

Actions

Bug #3348

closed

introducing a validation error in document causes save to fail silently

Added by Matt Jones over 16 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Immediate
Category:
client
Target version:
Start date:
05/30/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3348

Description

I saved a valid EdML document locally and to metacat. I then went in and changed the document so that one of the date strings was ISO invalid (e.g., '4/2/2008'). I then selected 'Save...' from the menu, and selected both local and network. Morpho tries to save the document, fails due to validation errors, but fails silently with no error message to the user. The document is neither saved locally nor to metacat. The error message in the log reflects the validation problem:

MetacatUpload Exception in EdMLDataPackage!

<error>
cvc-datatype-valid.1.2.2: '4/2/2008' is not a valid value of list type 'yearDate'.
</error>

I can then go back to 'Save...' and save locally without a problem, producing a new version locally.

If I then take that new version and perform a 'File|Synchronize...' on it, then I get the inappropriate ID conflict error that is described in bug #3447.

Actions

Also available in: Atom PDF