[Koha-bugs] [Bug 26298] New: If MaxItemsToProcessForBatchMod is set to 1000, the max is actually 999

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 25 20:54:38 CEST 2020


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

            Bug ID: 26298
           Summary: If MaxItemsToProcessForBatchMod is set to 1000, the
                    max is actually 999
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

So this is similar to bug 10163, but I don't think it's the same thing. I
noticed that if you have 1000 in MaxItemsToProcessForBatchMod, and you try to
process 1000 items, there's an error message

"Too many items (1000): You are not allowed to edit more than 1000 items in a
batch."

The message itself is a bit confusing because 1000 is not "more than" 1000. And
you're probably thinking "well, just put 999 items in your file and voilĂ !",
but if you batch modify using the reports, the options are 10, 20, 50, 100,
200, 300, 400, 500, and 1000. If you have a lot of batches to do, the
difference between 500 and 1000 is double the work.

To reproduce:
1- Set MaxItemsToProcessForBatchMod to 1000
2- Go to Reports
3- Make a report for itemnumbers that will give you at least 1000 items (ex.
SELECT itemnumber FROM items)
4- Save and run the report
5- In "Rows per page", choose 1000
6- Click on "Batch operations with 1000 visible records" > Batch item
modification
7- Notice that the item modification form isn't there and that the message says
"Too many items (1000): You are not allowed to edit more than 1000 items in a
batch."

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