[Koha-bugs] [Bug 22887] New: authorised_values is missing a unique constraint on category + authorised_value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 10 16:28:50 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22887

            Bug ID: 22887
           Summary: authorised_values is missing a unique constraint on
                    category + authorised_value
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Code using the authorised_values table expects the combination of 'category'
with 'authorised_value' to always be unique.

We should constrain it as such and also reap the rewards of dbic accessors that
would give us.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list