[Koha-bugs] [Bug 34844] New: manage_item_editor_templates is missing from userpermissions.sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 20 14:31:11 CEST 2023


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

            Bug ID: 34844
           Summary: manage_item_editor_templates is missing from
                    userpermissions.sql
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: kyle at bywatersolutions.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 24606
            Blocks: 34841

Caught by 34841

To recreate

root at kohadevbox:koha$ perl /kohadevbox/misc4dev/run_tests.pl
--run-db-upgrade-only

kohadev-koha at kohadevbox:koha$ prove t/Koha/Auth/Permissions.t
t/Koha/Auth/Permissions.t .. 1/3 
    #   Failed test 'Expected permissions generated for superlibrarian'
    #   at t/Koha/Auth/Permissions.t line 285.
    #     Structures begin differing at:
    #          $got->{CAN_user_editcatalogue_manage_item_editor_templates} =
'1'
    #     $expected->{CAN_user_editcatalogue_manage_item_editor_templates} =
Does not exist
    # Looks like you failed 1 test of 1.

#   Failed test 'superlibrarian tests'
#   at t/Koha/Auth/Permissions.t line 286.
# Looks like you failed 1 test of 3.

Please fix ASAP.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24606
[Bug 24606] Allow storing item values as a template for creating new items
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34841
[Bug 34841] The test suite is failing is the DB has been upgraded
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list