[trunk] char field size is not restricted based on size provided in field

Bug #1012534 reported by Rucha (Open ERP)
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Opinion
Low
OpenERP R&D Web Team

Bug Description

Currently in trunk web client, there is no restriction for entering field value having characters more than the size of that field.
For example:
In country code we have size=2, though we are able to enter bigger code value than 2 characters.

Related branches

Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Paramjit Singh Sahota(OpenERP) (psa-openerp) wrote :

Hello,
     It has been fixed on lp:~openerp-commiter/openerp-web/trunk-bug-1012534-psa branch with Following Revision Number and Revision ID.
         Revision Number: 2545
         This will soon merge with trunk

Thank you!
    PSA

Changed in openerp-web:
status: Confirmed → Fix Committed
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

In fact, we have no desire to modify this behavior. Plus, handling the maximum number of characters in a char field in a database is a more complex task than just limiting the number of chars in the input.

Changed in openerp-web:
status: Fix Committed → Invalid
status: Invalid → Opinion
Revision history for this message
Daniel Reis (dreis-pt) wrote :

Nicolas, I'm curious about your answer - could ellaborate on the reson why the limitation is not desirable?
My personal experience with web-client users is frustration, sometime anger, when they find out that part of the text they typed in a 100-char field was truncated without warning.
I feel that this is a serious usability issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.