[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2026-02-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Wainui Witika-Park  changed:

   What|Removed |Added

 CC||[email protected]
   ||et.nz
 Status|Pushed to oldstable |Needs documenting

--- Comment #11 from Wainui Witika-Park  ---
Not backporting to 22.11.x as it wasn't backported to 24.05.x

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-09-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 CC||[email protected]
 Version(s)|25.11.00,25.05.01,24.11.08  |25.11.00,25.05.03,24.11.08
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-07-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Fridolin Somers  changed:

   What|Removed |Added

 Version(s)|25.11.00,25.05.01   |25.11.00,25.05.01,24.11.08
released in||
 CC||[email protected]
   ||m
 Status|Pushed to stable|Pushed to oldstable

--- Comment #10 from Fridolin Somers  ---
Pushed to 24.11.x for 24.11.08

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-07-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 CC||cslone@camdencountylibrary.
   ||org

--- Comment #9 from Lucas Gass (lukeg)  ---
*** Bug 40499 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-07-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Jonathan Druart  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=39966

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Lucas Gass (lukeg)  changed:

   What|Removed |Added

   Keywords||rel_24_11_candidate
 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-23 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Paul Derscheid  changed:

   What|Removed |Added

 Status|Pushed to main  |Pushed to stable
 Version(s)|25.11.00|25.11.00,25.05.01
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

--- Comment #8 from Paul Derscheid  ---
Nice work everyone!

Pushed to 25.05.x for 25.05.03

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

--- Comment #7 from Lucas Gass (lukeg)  ---
Nice work everyone!

Pushed to main for 25.11

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to main
 Version(s)||25.11.00
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Marcel de Rooy  changed:

   What|Removed |Added

 Attachment #182746|0   |1
is obsolete||

--- Comment #6 from Marcel de Rooy  ---
Created attachment 183053
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183053&action=edit
Bug 38974: Fix error in OPAC patron update

Test plan:

1) Make sure Patron category is checked in the system preference
PatronSelfModificationBorrowerUnwantedField
2) Log in to the opac
3) Go to "Personal details"
4) Select any value for "Date of birth"
5) Click save
6) This must not yield error 500. (But may be a successful save or a validation
error).

Signed-off-by: David Nind 

Signed-off-by: Marcel de Rooy 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Marcel de Rooy  changed:

   What|Removed |Added

   Patch complexity|--- |Small patch
 Status|Signed Off  |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

--- Comment #5 from Marcel de Rooy  ---
Looks like this is affected too by this change:

if ( $borrower->{'password'} ) {
my ( $is_valid, $error ) = Koha::AuthUtils::is_password_valid(
$borrower->{password},
Koha::Patron::Categories->find(
$borrower->{categorycode} ||
C4::Context->preference('PatronSelfRegistrationDefaultCategory')

And should be more correct now (when updating).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-06-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Marcel de Rooy  changed:

   What|Removed |Added

 CC||[email protected]
   Assignee|[email protected] |[email protected]
   |ity.org |
 QA Contact|[email protected] |[email protected]
   |y.org   |

--- Comment #4 from Marcel de Rooy  ---
Please fill assignee field when taking a bug.

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


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

David Nind  changed:

   What|Removed |Added

 CC||[email protected]
  Text to go in the||This fixes updating
  release notes||personal details in the
   ||OPAC. A 500 error was shown
   ||if the "Patron category
   ||(categorycode)" was
   ||selected in the
   ||PatronSelfModificationBorro
   ||werUnwantedField system
   ||preference and the date of
   ||birth field was changed or
   ||previously empty.

--- Comment #3 from David Nind  ---
Testing notes (using KTD):
1. The "Patron category (categorycode)" field to select for
PatronSelfModificationBorrowerUnwantedField is about three quarters of the way
down the list on the left-hand side.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

David Nind  changed:

   What|Removed |Added

 Attachment #182722|0   |1
is obsolete||

--- Comment #2 from David Nind  ---
Created attachment 182746
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182746&action=edit
Bug 38974: Fix error in OPAC patron update

Test plan:

1) Make sure Patron category is checked in the system preference
PatronSelfModificationBorrowerUnwantedField
2) Log in to the opac
3) Go to "Personal details"
4) Select any value for "Date of birth"
5) Click save
6) This must not yield error 500. (But may be a successful save or a validation
error).

Signed-off-by: David Nind 

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


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

Andreas Jonsson  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff
 CC||[email protected]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
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/


[Koha-bugs] [Bug 38974] Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38974

--- Comment #1 from Andreas Jonsson  ---
Created attachment 182722
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182722&action=edit
Bug 38974: Fix error in OPAC patron update

Test plan:

1) Make sure Patron category is checked in the system preference
PatronSelfModificationBorrowerUnwantedField
2) Log in to the opac
3) Go to "Personal details"
4) Select any value for "Date of birth"
5) Click save
6) This must not yield error 500. (But may be a successful save or a validation
error).

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