https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38839
--- Comment #17 from Anneli Österman <[email protected]> --- I tested this again and it does not complain about the maximum length anymore. You can add amounts that are 999999.99 but if you add amount of 1 000 000 (one milloin or more) the save process crashes. DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Out of range value for column 'replacementprice' at row 1 at /kohadevbox/koha/Koha/Object.pm line 172 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 I checked from the Koha schema that replacementprice field's type is DECIMAL and size is 8,2. I had to google what that means and if I understood correctly, the field accepts 6 digits before the . and two after it. So, it kind of works (milloin has 7 digits before the .) but should it give more descriptive error message? Of course, it is highly unlikely that someone adds that big of a replacement price but I think it should not just "crash". :) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
