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
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