[Koha-bugs] [Bug 21674] New: Data integrity not enforced for library groups

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 25 22:34:21 CEST 2018


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

            Bug ID: 21674
           Summary: Data integrity not enforced for library groups
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 15707

You can create hierarchical groups of libraries you are not allowed to add
several times the same library to a given group/subgroup. The libraries that
are part of the group is not displayed on the interface, to prevent the user to
select it.

However this restriction is only done template-side, the controller and module
does not handle it.

To recreate the problem:
- Go to Home › Administration › Library groups
- Add a group
- Add a library
- reload the page several times
=> The same library appears several times in the group

Note that we should also replace the "Add" and "Remove" links with buttons.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15707
[Bug 15707] Add ability to define hierarchical groups of libraries
-- 
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