[Koha-bugs] [Bug 32663] Error updating personal details in OPAC when > 10 text characters entered: Main address > Street number input field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 15:36:27 CET 2023


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

solene.ngamga at inlibro.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145381|0                           |1
        is obsolete|                            |

--- Comment #3 from solene.ngamga at inlibro.com ---
Created attachment 145879
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145879&action=edit
Bug 32663: Limit streetnumber to 10 characters in OPAC

This change harmonizes the patron streetnumber input between
the staff interface and the OPAC, so that you can only enter 10
characters into the streetnumber for the OPAC. Without this change,
a fatal error will be thrown trying to save the too long data.

Test plan:
0. Apply the patch
1. Go to http://localhost:8080/cgi-bin/koha/opac-memberentry.pl
2. Note that you can only enter 10 characters into the "Street number"
field as a self-registration patron
3. Log into Koha
4. Go to http://localhost:8080/cgi-bin/koha/opac-memberentry.pl
5. Note that you can only enter 10 characters into the "Street number"
field when editing logged in patron details too
6. Go to
http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=S
7. Note that you can only enter 10 characters into the "Street number"
field as a staff member

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Solene Ngamga <solene.ngamga at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list