[Koha-bugs] [Bug 35577] New: Self-registration creates empty patron attributes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 15 00:57:17 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35577
Bug ID: 35577
Summary: Self-registration creates empty patron attributes
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: david.roberts at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
When creating a new users using the self-registration feature, all extended
patron attributes are created as empty lines in the database even if they are
not completed in the form:
select * from borrower_attributes where borrowernumber = 265932;
+--------+----------------+-----------+-----------+
| id | borrowernumber | code | attribute |
+--------+----------------+-----------+-----------+
| 408566 | 265932 | JOBROLE | Test |
| 408567 | 265932 | ESRCAT | |
| 408568 | 265932 | NOTIF | |
| 408569 | 265932 | CONTRACT | |
| 408570 | 265932 | STUDY | |
| 408571 | 265932 | CONT_TYPE | |
| 408572 | 265932 | TRUST_OTH | |
| 408573 | 265932 | TRUST | |
+--------+----------------+-----------+-----
Editing this user record in the staff client then deletes the empty attributes:
select * from borrower_attributes where borrowernumber = 265932;
+--------+----------------+-----------+-----------+
| id | borrowernumber | code | attribute |
+--------+----------------+-----------+-----------+
| 408574 | 265932 | CONT_TYPE | TEMP |
| 408575 | 265932 | JOBROLE | Test |
+--------+----------------+-----------+-----------+
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list