Commit 818098bc authored by Matthieu Muffato's avatar Matthieu Muffato Committed by ens-bwalts
Browse files

Clear error message if the tweak attemps to change the dbID

parent 0a185089
......@@ -782,6 +782,9 @@ sub apply_tweaks {
$need_write = 1;
}
}
} elsif( $attrib_name eq 'dbID' ) {
print "Tweak.Error \tChanging the dbID of an Analysis is not supported\n";
} elsif($analysis->can($attrib_name)) {
my $old_value = stringify($analysis->$attrib_name());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment