Project

General

Profile

Actions

Bug #438

closed

Intermittent Version Numbering Problem

Added by Dan Higgins about 22 years ago. Updated over 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
02/28/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
438

Description

If one creates a datapackage and then repeatedly changes one of the documents in
the package (e.g. the eml-access doc; just say it is a new doc without actually
changing anything), perhaps 1-2 times out of 10, an error will occur which says
"The file you are attempting to updata has been changed by another user ...".
Apparently the sequence number has become out of sync. Completely removing local
copies and working from Metacat versions does not fix the problem - i.e. not
further editing can be done.

The problem is apparently related to the "getMetacatInputStream" method in
'ClientFramework' class. This method has makes three attempts to get a network
connection due to a problem in the HTTP connection class. This bug apparently
occurs when the first embedded 'try' in this method fails. Somehow the version
number is getting incremented in Metacat but not in the package!

Apparently, Morpho needs some sort of transaction management in order to recover
when part of a datapackage updata works and part does not.


Related issues

Blocks Metacat - Bug #213: transaction support for packagesNewJing Tao04/09/2001

Actions
Actions

Also available in: Atom PDF