Project

General

Profile

Actions

Bug #541

closed

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

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

Actions #1

Updated by Jing Tao almost 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 541

Actions

Also available in: Atom PDF