[Koha-bugs] [Bug 16865] Patron self registration: hiding branchcode gives error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 19 01:15:28 CEST 2020


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Patron self registration:   |Patron self registration:
                   |hiding branchcode hides     |hiding branchcode gives
                   |email and breaks workflow   |error
           Assignee|koha-bugs at lists.koha-commun |oleonard at myacpl.org
                   |ity.org                     |
          Component|Patrons                     |OPAC

--- Comment #9 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I retested this on master and couldn't replicate the 'disappearing email', but
found another explosion:

Broken FK constraint at /usr/share/perl5/Exception/Class/Base.pm line 88

PatronSelfRegistrationBorrowerUnwantedField: branchcode
PatronSelfRegistrationLibraryList: CPL (same with empty)

Maybe we should catch the error and at the same time add a note to the pref
that branchcode should not be hidden? Not sure how we determine the branch for
the patron if it is hidden. Maybe we could hide it, if there is only one entry
(no more libraries configured, *LibraryList only has one entry)

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