Project

General

Profile

Actions

Bug #4243

open

Harvester db errors due to fixed character length overflow

Added by Duane Costa over 15 years ago. Updated over 15 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
harvester
Target version:
Start date:
07/13/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4243

Description

In a recent release of Metacat (1.9.0), the Harvester property names were
refactored to begin with the prefix 'harvester.'. Some of Harvester property
names are used as operation codes in metacat's 'harvest_log' table,
'harvest_operation_code' field, which is declared with a fixed length of 30
characters. The 'harvester.ValidateHarvestListSuccess' code is 35 chars, which
exceeds the limit and results in DB errors on record insertion during a harvest.

Actions #1

Updated by Matt Jones over 15 years ago

We need a junit test suite that exercises the full harvester functionality so that future releases don't gave this same problem. Is there one that I'm not aware of, and if so, can it be augmented to run the full harvester Ali with both valid and invalid inputs?

Actions #2

Updated by Duane Costa over 15 years ago

A harvester JUnit test suite does exist in directory:

metacat/test/edu/ucsb/nceas/metacattest/harvesterClient

In its current state, it's able to test much of the harvester's core functionality, but it does need augmentation to cover all potential inputs, such as writing to the log table (as occurred with this bug).

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4243

Actions

Also available in: Atom PDF