[Koha-bugs] [Bug 24010] New: Number of issues to display to staff accepts non-integer values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 11 15:48:53 CET 2019


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

            Bug ID: 24010
           Summary: Number of issues to display to staff accepts
                    non-integer values
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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 serial subscription in the page
/cgi-bin/koha/serials/subscription-add.pl one can add to the field "Number of
issues to display to staff" a non-integer value like "f" and then when you save
this new subscription and go to the "Subscriptions" tab in
/cgi-bin/koha/catalogue/detail.pl?biblionumber=XXXX you get the following error
in plack-error.log:

>DBD::mysql::st fetchrow_hashref failed: fetch() without execute() [for Statement "SELECT   serialid,serialseq, status, planneddate, publisheddate, notes
>                        FROM     serial
>                        WHERE    subscriptionid = ?
>                        AND      status IN (2,4,41,42,43,44)
>                        ORDER BY publisheddate DESC LIMIT 0,f
>                " with ParamValues: 0=2] at /home/koha/kohaclone/C4/Serials.pm line 784.

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