]> git.koha-community.org Git - koha.git/commit
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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 23 Feb 2016 15:25:49 +0000 (15:25 +0000)
commitfb419ba83d8c7b6bf710b42ad3fe61701809fc0e
treeb09a6289e8cc0d0b221ab336ea6c82e470536cb8
parent4c6214f5c943d8c2f12e7cf84c3965ddc4778956
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
installer/data/mysql/atomicupdate/bug_13534.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql