[Koha-bugs] [Bug 21605] Cannot create EDI account

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 25 19:23:49 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21605

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=21610

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I confirm the issue.

Fresh DB,  Home › Administration › EDI accounts › Add new account 
fill some fields, submit.
Boom: 
DBD::mysql::st execute failed: Incorrect integer value: '' for column
'auto_orders' at row 1 [for Statement "INSERT INTO `vendor_edi_accounts` (
`auto_orders`, `description`, `download_directory`, `host`, `id_co
de_qualifier`, `invoices_enabled`, `orders_enabled`, `password`, `plugin`,
`quotes_enabled`, `responses_enabled`, `san`, `transport`, `upload_directory`,
`username`, `vendor_id`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?,
 ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0='', 1="xxx", 2="", 3="", 4="14",
5='', 6='', 7="", 8="", 9='', 10='', 11="", 12="FTP", 13="", 14="", 15="1"] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.

I guess it comes from there:
<input name="auto_orders" id="auto_orders" value="" type="checkbox">

As I said previously this will certainly be fixed by bug 21610.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list