[Koha-bugs] [Bug 32663] New: 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
Wed Jan 18 00:51:51 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32663
Bug ID: 32663
Summary: Error updating personal details in OPAC when > 10 text
characters entered: Main address > Street number input
field
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: david at davidnind.com
QA Contact: testopia at bugs.koha-community.org
When logged in to the OPAC and editing your personal details, you get an error
trace if you enter a reasonable amount of text in the main address street
number input field, for example: abcdefghijk.
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Data too long for column 'streetnumber' at row 1 at
/kohadevbox/koha/Koha/Object.pm line 170
at /usr/share/perl5/DBIx/Class/Exception.pm line 77
in DBIx::Class::Exception::throw at
/usr/share/perl5/DBIx/Class/Exception.pm line 77
74: my $self = { msg => $msg };
75: bless $self => $class;
76:
77: die $self;
78: }
79:
80: =head2 rethrow
Show function arguments
To replicate:
1. Log in to the OPAC (I used koha and koha with KTD).
2. Go to Your account > Personal details
3. Enter abcdefghijk in the Main address > Street number input field.
4. Error trace occurs.
5. Enter abcdefghij in the Main address > Street number input field.
6. Form submitted.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list