Summary: | deleteditemsstocknumberidx should not be a unique index | ||
---|---|---|---|
Product: | Koha | Reporter: | David Cook <dcook> |
Component: | Database | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED WONTFIX | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | m.de.rooy |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30481 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
David Cook
2019-07-17 08:21:53 UTC
It looks like we never dropped the unique index on the deleteditems table... but fixed it only for new installations: kohastructure.sql deleteditems KEY `delitemstocknumberidx` (`stocknumber`), 3.01.00.095 Added *items.stocknumber with a unique index 3.03.00.042 Removed the unique index from items.stocknumber But no mention of the same change for deleteditems. We could probably close this one off as it only affects pre-3.04 versions of Koha. I think there are other cases where similar things have happened, so I'm sure upgraded databases vs new databases are already out of sync in other ways... (In reply to David Cook from comment #2) > We could probably close this one off as it only affects pre-3.04 versions of > Koha. (In reply to David Cook from comment #2) > We could probably close this one off as it only affects pre-3.04 versions of > Koha. > > I think there are other cases where similar things have happened, so I'm > sure upgraded databases vs new databases are already out of sync in other > ways... Yes, I have opened a few of these reports the last few days. Added some code on at least one of them. These patches are not very popular. But I would recommend to leave them open until they are fixed. These kind of sync problems could at some point cause issues.. |