[Koha-bugs] [Bug 21141] New: Batch item modification throws error 500 when an itemnumber is invalid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 1 21:18:13 CEST 2018


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

            Bug ID: 21141
           Summary: Batch item modification throws error 500 when an
                    itemnumber is invalid
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: victor.grousset at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Error example:

Can't call method "title" on an undefined value at
/home/koha/src/tools/batchMod.pl line 591, <$fh> line 6.


== Test plan ==
1. Create a file named valid-itemnumbers.csv with valid itemnumbers
   With the following structure:
5456
5495
6546
2. Go to Staff › Tools › Batch item modification
3. Tick "Item number file"
4. Upload the file (click "continue")
5. See that it works
6. Create a file named invalid-itemnumbers.csv with invalid itemnumbers
7. Retry
8. See that it fails

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