Hi, you have definitely found a bug. Making the following changes should fix the problem.
In the file admin/GT/SQL/Table.pm file, around line 2808, you will see the following code.
Right after this line please place the following code.
my ( $pk ) = $self->pk();
$input->{$col} = $self->file_info( $col, $input->{$pk} ) and next;
}
This should fix the problem.
In the file admin/GT/SQL/Table.pm file, around line 2808, you will see the following code.
Code:
if (exists $c->{$col}->{not_null} and $c->{$col}->{not_null} and (!exists $input->{$col} or ($input->{$col} =~ /^\s*$/))) {Right after this line please place the following code.
Code:
if ( uc $c->{$col}->{form_type} eq 'FILE' ) { my ( $pk ) = $self->pk();
$input->{$col} = $self->file_info( $col, $input->{$pk} ) and next;
}
This should fix the problem.