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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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

Reply via email to