Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019176Openbravo ERPA. Platformpublic2011-11-24 16:042011-12-01 10:37
rgoris 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0019176: Grid editing problem
When creating lines for a sales order, after having finished the first line, the automatically added second line starts with errors.
Create header
Create (in grid) a first line. Enter to finish it, wait for 2nd line to appear.
All in red.
No tags attached.
causes defect 00284693.0PR15Q2 closed AugustoMauch It is possible to save a masked string with incorrect length in grid view 
png Grid-problem.PNG (117,821) 2011-11-24 16:04
https://issues.openbravo.com/file_download.php?file_id=4787&type=bug
png
Issue History
2011-11-24 16:04rgorisNew Issue
2011-11-24 16:04rgorisAssigned To => mtaal
2011-11-24 16:04rgorisFile Added: Grid-problem.PNG
2011-11-24 16:04rgorisModules => Core
2011-11-30 14:31hgbotCheckin
2011-11-30 14:31hgbotNote Added: 0043583
2011-11-30 14:31hgbotStatusnew => resolved
2011-11-30 14:31hgbotResolutionopen => fixed
2011-11-30 14:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/75d0f48b96239eaf93fce90f4eb78f039102d432 [^]
2011-11-30 22:16hudsonbotCheckin
2011-11-30 22:16hudsonbotNote Added: 0043614
2011-12-01 10:37iperdomoNote Added: 0043628
2011-12-01 10:37iperdomoStatusresolved => closed
2014-12-23 12:31AugustoMauchRelationship addedcauses 0028469

Notes
(0043583)
hgbot   
2011-11-30 14:31   
Repository: erp/devel/pi
Changeset: 75d0f48b96239eaf93fce90f4eb78f039102d432
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 30 14:29:38 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/75d0f48b96239eaf93fce90f4eb78f039102d432 [^]

Fixes issue 19176: Grid editing problem
While the editor form is shown in the grid all kinds of focus/blur events happen together with validation, this results in redraws, the code change prevents the validation and
resulting redraws while the editor is being shown

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0043614)
hudsonbot   
2011-11-30 22:16   
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/598bceb6e1a9 [^]

Maturity status: Test
(0043628)
iperdomo   
2011-12-01 10:37   
Tested in pi @ rev b463f8dbd0d1

From the commit message:

"While the editor form is shown in the grid all kinds of focus/blur events happen together with validation, this results in redraws, the code change prevents the validation and resulting redraws while the editor is being shown"

Using the flag _showingEditor prevents validation and redraws.