[Koha-bugs] [Bug 8991] Add a script to delete old orders

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 5 17:57:58 CEST 2014


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

Paola Rossi <paola.rossi at cineca.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |paola.rossi at cineca.it

--- Comment #21 from Paola Rossi <paola.rossi at cineca.it> ---
I apply against master 3.17.00.007

in comment 16:

"A confirm flag is needed for deleting records. Without it, a list of orders
and baskets is displayed."

Without "-c" option set, the script makes some anticipations.
The script counts orders to delete (completely received orders) and baskets to
delete (basket without orders). But, counting the baskets, the script doesn't
count the baskets whose orders, being completely received, are all eraseable.
So after the first run without "-c" option set, the following execution with
"-c" set will be able to delete some baskets: this is unexpected!

NB1. The script doesn't delete orders received _before_ some date, but _until_
some date. The day in the "-until" option is included.
NB2. There is no way to ask for deleting only orders and not the baskets. There
is no way to ask for deleting only empty baskets.

I pass the patch to "Failed QA" status.

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


More information about the Koha-bugs mailing list