[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[zanata-bugs] [Bug 1037932] New: Unhandled exception: Add language field allows more character than the database does (255)



https://bugzilla.redhat.com/show_bug.cgi?id=1037932

            Bug ID: 1037932
           Summary: Unhandled exception: Add language field allows more
                    character than the database does (255)
           Product: Zanata
           Version: development
         Component: Component-UI
          Severity: high
          Assignee: zanata-dev-internal redhat com
          Reporter: djansen redhat com
        QA Contact: zanata-qa redhat com
                CC: zanata-bugs redhat com



Description of problem:
The column type for localeid is VARCHAR(255) NOT NULL. The field that allows
the admin to specify the locale is not limited, and entering more than the 255
characters results in an exception

Version-Release number of selected component (if applicable):
dev

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin
2. Click Languages, then Add Language
3. In the available Language field, enter a large string
4. Press Save

Actual results:
org.h2.jdbc.JdbcSQLException: Value too long for column "LOCALEID VARCHAR(255)
NOT NULL": "STRINGDECODE('\ufeffThe Project Gutenberg EBook of Moby Dick; or
The Whale, by Herman Melville  This eBook is for the use of any... (1235149)";

Expected results:
A limit on the field

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=PF5iVlBQwB&a=cc_unsubscribe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]