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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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