Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040179Openbravo ERPA. Platformpublic2019-02-11 17:452019-03-28 14:56
adrianromero 
alostale 
urgentminorhave not tried
closedfixed 
5
 
3.0PR19Q2 
caristu
Core
No
0040179: Validations defined at column level must display an appropriate message to the user
If a column is defined with validation properties, for example a column type Integer and minimum value 15. If the user tries to save an invalid value in that field the following message is displayed without even marking the field value that does not comply with the validation defined:

Error
Saving failed. One or more fields contain illegal values, check the errors for each field.

See screenshot attached.

Note: If the field that does not comply with the validation has the focus when the user press save, the field is marked in red, but if it does not have the focus it is not marked in red.
0. Login as F&B Admin
1. Open Business Partner window and select "Alimentos y Supermercados, S.A"
2. Edit Customer tab More information to set Maturity Date fields to some illegal value <1 or >31
  ERROR: even it is not properly allowed to save, the error displayed in not helpful
No tags attached.
related to design defect 0039437 new Triage Platform Base [PR18Q4] Error message after a wrong entered value does not disappear when values are fixed 
png Captura de pantalla de 2019-02-11 17-40-34.png (130,614) 2019-02-11 17:49
https://issues.openbravo.com/file_download.php?file_id=12646&type=bug
png
Issue History
2019-02-11 17:45adrianromeroNew Issue
2019-02-11 17:45adrianromeroAssigned To => platform
2019-02-11 17:45adrianromeroModules => Core
2019-02-11 17:45adrianromeroTriggers an Emergency Pack => No
2019-02-11 17:49adrianromeroFile Added: Captura de pantalla de 2019-02-11 17-40-34.png
2019-02-22 12:31alostaleReview Assigned To => caristu
2019-02-22 12:31alostaleAssigned Toplatform => alostale
2019-02-22 12:31alostaleSeveritymajor => minor
2019-02-22 12:42alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18357#r18357
2019-02-22 12:44alostaleRelationship addedrelated to 0039437
2019-02-22 12:44hgbotCheckin
2019-02-22 12:44hgbotNote Added: 0110032
2019-02-22 12:44hgbotStatusnew => resolved
2019-02-22 12:44hgbotResolutionopen => fixed
2019-02-22 12:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/976e0334447084cc7847e791b4c2624c9ab80491 [^]
2019-03-08 12:08caristuNote Added: 0110313
2019-03-08 12:08caristuStatusresolved => closed
2019-03-08 12:08caristuFixed in Version => 3.0PR19Q2
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110834

Notes
(0110032)
hgbot   
2019-02-22 12:44   
Repository: erp/devel/pi
Changeset: 976e0334447084cc7847e791b4c2624c9ab80491
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Feb 22 12:43:45 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/976e0334447084cc7847e791b4c2624c9ab80491 [^]

fixed issue 40179: column validations don't show proper message

  When a column validation is not satisfied a usless message is displayed.

  The message was correctly generated in the backend but not displayed in fronted.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0110313)
caristu   
2019-03-08 12:08   
Code reviewed + tested OK.
(0110834)
hudsonbot   
2019-03-28 14:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b2fbc1588df4 [^]
Maturity status: Test