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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182458|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <[email protected]> ---
Created attachment 182463
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182463&action=edit
Bug 39904: EDIFACT error messages are malformed

Perl can interpolate hashrefs but not method calls. This results in messages
like "Cannot connect to
Koha::Schema::Result::VendorEdiAccount=HASH(0xaaab059252f0)->host: Name or
service not known: My Test at ./misc/cronjobs/edi_cron.pl line 58." when
running the edi_cron.pl cronjob.

Test Plan:
1) Enable EDIFACT
2) Create a fake EDI account with a bad FTP server in it
3) Run edi_cron.pl
4) Note the errors like:
    Cannot connect to
Koha::Schema::Result::VendorEdiAccount=HASH(0xaaab059252f0)->host: Name or
service not known: My Test at ./misc/cronjobs/edi_cron.pl line 58.
5) Apply this patch
6) Run edi_cron.pl
7) Note the errors are now like:
    Cannot connect to test.example.com: Name or service not known: My Test at
./misc/cronjobs/edi_cron.pl line 58.

Signed-off-by: David Nind <[email protected]>

-- 
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/

Reply via email to