Bug #541
closedUpdate dataset document which host is not in this metacat will cause an error
0%
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.
Updated by Jing Tao over 22 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.