Bug #13
closed
metacat doesn't allow updates or deletes
Added by Matt Jones over 24 years ago.
Updated almost 23 years ago.
Description
The current metacat doesn't allow updates to metadata documents nor deletes of
documents.
Reassigned to bojilova. She will modify servlet to allow updates and deletes of
metadata socuments based on docid. If the action is "INSERT" and the docid
provided is not unique, generate an error. IF the action is "INSERT" and the
docid is null, assign a new docid from the server's central pool of accession
#'s. If action is "UPDATE", docid is required. IF action is "DELETE", docid is
required.
Created basic update and delete functionality. Substantial changes to all
classes, but focused on DBWriter and MetaCatServlet. There is still an
outstanding bug in MetaCatServlet that keeps it from running on a second call
(NullPointerException). The bug relates to the Class cast on line 159 of
DBWriter.java. I will return to this ASAP and get it fixed. The command tools
work fine in the meantime.
Will complete testing and bugfixes for bug # 13 and bug # 24
Fixed errors with Update and Delete functions. Tested out fine under a variety
of error conditions.
Original Bugzilla ID was 13
Also available in: Atom
PDF