[Koha-bugs] [Bug 18097] New: It is possible to create unusable category codes (ccode) due to field length mismatch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 10 17:16:44 CET 2017


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

            Bug ID: 18097
           Summary: It is possible to create unusable category codes
                    (ccode) due to field length mismatch
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: gmcharlt at gmail.com
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

The column items.ccode is 10 characters long. It references authorised values
of the type CCODE. The maximum length of an authorised value is 80 characters
long. If a CCODE is created with a value greater than 10, when it is stored for
the item it will be truncated and become either a) an invalid ccode or b) match
a different ccode!

The solution should be to increase the items.ccode column from varchar(10) to
varchar(80).

This really goes for all columns that could possibly store an authorised value.

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


More information about the Koha-bugs mailing list