[Koha-bugs] [Bug 32154] New: Missing primary key on erm_user_roles table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 18:42:47 CET 2022


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

            Bug ID: 32154
           Summary: Missing primary key on erm_user_roles table
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pedro.amorim at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

This is an outstanding issue related to the ERM module mentioned at:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32030#c31

Jonathan Druart:
TestBuilder.t is failing on ERM::User::Roles, it's missing a primary key on
erm_user_roles I think
Can be tested with:

use t::lib::TestBuilder;
my $builder = t::lib::TestBuilder->new;
my $m = 'Koha::ERM::UserRoles';
eval "require $m";
my $object = $builder->build_object( { class => $m } ); 
say ref($object);

Should display "Koha::ERM::UserRole", not be empty

-- 
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