]> git.koha-community.org Git - koha.git/commit
Bug 11309: avoid creating duplicate numbering patterns during upgrade to 3.14.x
authorNuño López Ansótegui <nunyo@masmedios.com>
Tue, 26 Nov 2013 17:38:43 +0000 (18:38 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 03:38:44 +0000 (03:38 +0000)
commit19131a9d8ee85dd28033856d02f8573625ce74f8
tree6a620c48e11ed394d51eb86b9afd6a3c153ee488
parent41db1ee32f1d89f5d677eec2df05f2050a01e191
Bug 11309: avoid creating duplicate numbering patterns during upgrade to 3.14.x

To test:

1/ Install Koha 3.12
2/ Create some subscriptions. Ensure you have at least two
   subscriptions with the same numbering pattern, with one of the
   keys everyX/addX/whenmorethanX/settoX set to NULL
3/ Remember this numbering pattern.
4/ Upgrade to 3.14
5/ Run updatedatabase.pl
6/ The numbering pattern is duplicated

Now repeat steps 1 to 4, then apply the patch and run
updatedatabase.pl. Numbering pattern should not be duplicated.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl