Bug 13534: Do not remove tags on deleting a patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Jan 2016 14:34:29 +0000 (14:34 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 26 Feb 2016 10:12:22 +0000 (11:12 +0100)
commit71b0885babf336843d931afd09233428f6f8f86d
treec456f6797082ee4d7a66b00c034ece1f1189e9d0
parentd7587e0567ac97639e84be668a08d5e6985e3e87
Bug 13534: Do not remove tags on deleting a patron

On deleting a patron, all the tags approved by this user will be
deleted.
This can cause data lost.

Test plan:
0/ Do not execute the update DB entry
1/ Create 2 patrons A, B
2/ Create some tags with patron A logged in
3/ Approve them with patron B logged in
4/ Delete the 2 patrons
=> The tags have been deleted
5/ Execute the DB entry
6/ Repeat 1,2,3,4
=> The tags have not been deleted and are still shown on the interface
(result, detail, tags module)

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit fb419ba83d8c7b6bf710b42ad3fe61701809fc0e)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
installer/data/mysql/atomicupdate/bug_13534.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql