[Koha-bugs] [Bug 23888] New: Incorrect vendor id in subscription creation causes internal server error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 24 12:18:51 CEST 2019


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

            Bug ID: 23888
           Summary: Incorrect vendor id in subscription creation causes
                    internal server error
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

When adding a new subscription on the page
/cgi-bin/koha/serials/subscription-add.pl and typing in the vendor field a
non-existing vendor id "9999999999" and other fields correctly we get the
following internal server error when clicking on the second page ”Save
subscription”:

DBIx::Class::Storage::DBI::_dbh_execute(): Out of range value for column
'aqbooksellerid' at row 1 at /kohadevbox/koha/Koha/Object.pm line 156 at
/usr/share/perl5/DBIx/Class/Exception.pm line 77

When such incorrect vendor id is typed it should not allow us to go to the next
page by clicking ”Next” but instead complain the vendor info is not correct.

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