https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36767
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |Needs documenting Text to go in the| |This fixes an error when release notes| |creating an EDI account if | |you don't enter the upload | |and download ports. The | |port is supposed to default | |to port 22, but it doesn't, | |and then generates an | |error. It also adds a hint | |to the input fields to say | |that the port will default | |to 22 if not set. --- Comment #10 from David Nind <[email protected]> --- I think this is needs backporting to 24.05.x. This is because it is both a bug fix and an enhancement: 1. When adding an EDIT account, it fixes a DBIx error if you don't enter a port number for the upload and download port fields (it is supposed to default to port 22, but doesn't). [1] 2. It adds some hint text for the upload and download port fields (which is an enhancement). In the meantime, I've changed the status to needs documenting, as the manual needs updating for any screenshots and other text changes required. [1] Error that needs fixing for 24.05.x (which is currently 24.05.01) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Enable the EDIFACT system preference. 2. Add an EDI account: Administration > Acqusition parameters > EDI accounts > + New account . Don't add any values for the fields 'Upload port' and 'Download ports' . Press 'Submit' Result==> You get an error: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Incorrect integer value: '' for column `koha_kohadev`.`vendor_edi_accounts`.`download_port` at row 1 at /kohadevbox/koha/admin/edi_accounts.pl line 100 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 3. Note that this is supposed to default to port 22 if no values are entered (see bug 35724), but it doesn't and causes the error. -- 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/
