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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/