The problem is that those links were modified before the upgrade. The following code should fix the problem (admin/Links/Tools.pm, line 686):
my $link = eval $link_data->{ChgRequest};
my $user = $user_db->get($link->{LinkOwner});
my $update_user = '';
+ foreach my $col (keys %{$db->{schema}->{cols}}) {
+ exists $link->{$col} or $link->{$col} = $db->{schema}->{cols}->{$col}->{default};
+ }
$link->{$i . "-CatLinks.CategoryID"} = $link->{'CatLinks.CategoryID'};
my $form = $html->form({ values => $link, extra_table => 0, mode => 'validate', view_key => 1, multiple => $i, file_field => 1, file_delete => 1, file_use_path => 1 });
Adrian
Code:
@@ -686,6 +686,9 @@ my $link = eval $link_data->{ChgRequest};
my $user = $user_db->get($link->{LinkOwner});
my $update_user = '';
+ foreach my $col (keys %{$db->{schema}->{cols}}) {
+ exists $link->{$col} or $link->{$col} = $db->{schema}->{cols}->{$col}->{default};
+ }
$link->{$i . "-CatLinks.CategoryID"} = $link->{'CatLinks.CategoryID'};
my $form = $html->form({ values => $link, extra_table => 0, mode => 'validate', view_key => 1, multiple => $i, file_field => 1, file_delete => 1, file_use_path => 1 });
Adrian