Summary: | Duplicated patterns when subscription table is updated | ||
---|---|---|---|
Product: | Koha | Reporter: | Nuño López Ansótegui <nunyo.lopez> |
Component: | Serials | Assignee: | Nuño López Ansótegui <nunyo.lopez> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | colin.campbell, gmcharlt, julian.maurice |
Version: | 3.14 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 11261 | ||
Bug Blocks: | |||
Attachments: |
Bug 11309 - Duplicated patterns when subscription table is updated
[SIGNED-OFF] Bug 11309: Duplicated patterns when subscription table is updated Bug 11309: Duplicated patterns when subscription table is updated |
Description
Nuño López Ansótegui
2013-11-26 18:20:00 UTC
Created attachment 23177 [details] [review] Bug 11309 - Duplicated patterns when subscription table is updated This patch solves the bug. Created attachment 24004 [details] [review] [SIGNED-OFF] Bug 11309: Duplicated patterns when subscription table is updated Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Steps to reproduce the problem: 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. Maybe this need another patch to remove already created duplicates (maybe only those whose name starts with 'Backup pattern') ? Created attachment 24495 [details] [review] Bug 11309: Duplicated patterns when subscription table is updated Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master. Thanks, Nuño! |