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

--- Comment #8 from Caroline Cyr La Rose <[email protected]> ---
I tested the cards section.

Before the patch, the cleanup_database.pl for --cards 15 doesn't work at all.
It returns

Purging card creator batches last added to more than 1 days ago.
Use of uninitialized value $labels in sprintf at
./misc/cronjobs/cleanup_database.pl line 776.
Done with purging 0 card creator batches last added to more than 0 days ago.

And when I query my database, my 6 entries are still there.

After the patch, it's OK. :)

So nothing wrong with the patch, it's maybe just the test plan that needs
adjusting (in step 2)

2. Before Applying the Patch:
    a) Run the following cleanup script:
        ./misc/cronjobs/cleanup_database.pl --cards 15 --confirm --verbose
       --> Error in console output
       --> Nothing is deleted even though one batch was older than 15 days
        SELECT * FROM creator_batches;

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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