Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

modify bug??

Quote Reply
modify bug??
Has anyone had problems with validating a modified link? I get a message,

Error validating links:
2 (Couldn't modify: The requested record was not found in the database.)

I checked the Links db and the record was there.

It seems the problem is in admin.cgi in the sub validate_records

# Modify records.

foreach $id (@modify_list) {
$record = $val->get_record ($id, 'HASH');
$record or ($error{$id} = "<li>$id (Couldn't find in validation table)") and next;

$lid = $record->{'LinkID'};
$links{$id}->{'ID'} = $lid;
$result = $db->modify_record ( \%{$links{$id}} );
$result or ($error{$id} = "<li>$id (Couldn't modify: $Links: BSQL::error)") and next;

I don't know if this is a bug or because my modifications. Anyone have success with modifying? Validating seems to work okay.

key is 2, $2 is 2, $1 is Tips (my last field) and $in->param($key) is modify

Kevin
Subject Author Views Date
Thread modify bug?? hostglobal 2595 Jan 3, 2000, 4:37 PM
Post Re: modify bug??
pugdog 2520 Jan 3, 2000, 4:51 PM
Post Re: modify bug??
hostglobal 2513 Jan 3, 2000, 5:00 PM
Post Re: modify bug??
widgetz 2524 Jan 3, 2000, 7:46 PM
Post Re: modify bug??
Alex 2537 Jan 4, 2000, 7:39 AM
Post Re: modify bug??
pugdog 2512 Jan 4, 2000, 5:39 PM
Post Re: modify bug??
hostglobal 2531 Jan 5, 2000, 10:10 AM
Post Re: modify bug??
pugdog 2522 Jan 5, 2000, 4:33 PM