[Koha-bugs] [Bug 27420] New: A mistake in bug 5161 leads to some patron attributes appearing without a fieldset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 12:16:53 CET 2021


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

            Bug ID: 27420
           Summary: A mistake in bug 5161 leads to some patron attributes
                    appearing without a fieldset
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

I'm really struggling to describe this issue even though I can happily
replicate it with customer data... and the fix is clear and obvious.

When adding, editing a borrower if a patron attribute type has a class
associated with it (with a corresponding PA_CLASS AV value or otherwise), then
it should appear grouped inside a fieldset with the class associated with it.

However, sometimes that is not the case.. narrowing down when it happens is
aluding me :(.

The fix is however clear; in members/memberentry.pl we refer to $attr_type via
class methods in most places but treat it like a bare hashref for the class
case.

Patch to follow.

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