Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018822Openbravo ERPA. Platformpublic2011-10-20 18:362012-04-23 12:40
marvintm 
marvintm 
normalmajorhave not tried
closedduplicate 
5
 
 
Core
No
0018822: Data is truncated instead of being validated if its size is greater than the field length
Fields in OB have a length attribute, and columns have one also. It seems that this length is not being currently used to prevent the user from entering too much information in most types of references. Instead, the data is truncated before being saved, so that the save action always "succeeds", but sometimes data is lost.

Recently there has been a change (changeset b5b81e79c0fd) which has changed the way this worked in some specific references, in form view. However, a deep review should be done for this, and validators should be added so that either the system doesn't allow the user to input too much information, or it complains before saving when the problem happens.
For example, currently, in grid view, a text field truncates the data if it is too long. However, in form view, this doesn't happen.
No tags attached.
duplicate of defect 0020021 closed AugustoMauch Text, Number, Date and DateTime inputs should not allow enter more characters than allowed 
Issue History
2011-10-20 18:36marvintmNew Issue
2011-10-20 18:36marvintmAssigned To => mtaal
2011-10-20 18:36marvintmModules => Core
2012-02-09 14:26mtaalAssigned Tomtaal => marvintm
2012-04-20 10:06AugustoMauchRelationship addedrelated to 0020021
2012-04-23 12:40AugustoMauchRelationship replacedduplicate of 0020021
2012-04-23 12:40AugustoMauchStatusnew => closed
2012-04-23 12:40AugustoMauchResolutionopen => duplicate

There are no notes attached to this issue.