[Koha-bugs] [Bug 15013] New: test option (-t) does not work in batchRebuildItemsTables.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 14 19:50:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15013

            Bug ID: 15013
           Summary: test option (-t) does not work in
                    batchRebuildItemsTables.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: gmcharlt at gmail.com
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

batchRebuildItemsTables.pl should allow a dry-run using the '-t' parameter, but
the script aborts instead, due to the following line:

    pod2usage(1) if ($help || (!$confirm));

The logic for actually committing records to the database is in place farther
on in the code, so we shouldn't be quitting there.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list