Project

General

Profile

Bug #541

Update dataset document which host is not in this metacat will cause an error

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
06/27/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
541

Description

If a data package was created by a morpho in metacat epsilon and it was forced
replicate from metacat epsilon (its homeserver) to metacat pine. Then same
user use a Mophor point to metacat pine and can find this data package. If the
user try to update the dataset document will cause an error:
The root element is required in a well-formed document.
Howerver you can update other xml documents such as access, physical documents
in the same package successfully.
If user create a new data package in metacat pine and he can update dataset
xml document successfully.

History

#1 Updated by Jing Tao over 17 years ago

In write method of DocumentImpl class, the code to handle the satuiation that
doc's homeserver isn't local and action = insert need a return statement.
Otherwise it be parse twice. So add the statement, everything is fine.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 541

Also available in: Atom PDF