Project

General

Profile

Bug #13

metacat doesn't allow updates or deletes

Added by Matt Jones about 19 years ago. Updated about 17 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
metacat
Target version:
Start date:
06/08/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
13

Description

The current metacat doesn't allow updates to metadata documents nor deletes of
documents.


Related issues

Blocked by Metacat - Bug #24: MetaCatServlet should provide 2 more input parameters to DBWriter: accession# and actionResolved06/15/2000

History

#1 Updated by Matt Jones about 19 years ago

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.

#2 Updated by Matt Jones almost 19 years ago

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.

#3 Updated by Matt Jones almost 19 years ago

Will complete testing and bugfixes for bug # 13 and bug # 24

#4 Updated by Matt Jones almost 19 years ago

Fixed errors with Update and Delete functions. Tested out fine under a variety
of error conditions.

#5 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 13

Also available in: Atom PDF