Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017382Openbravo ERPA. Platformpublic2011-05-26 15:162011-06-07 15:42
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP0 
Core
No
0017382: Entering new lines in grid view fails after canceling first line
This only happens if there is no data in the grid yet. For example use the SelectorExample.

To reproduce:
- start with an empty grid
- do new in grid
- cancel
- do new in grid again, nothing is shown, a jscript error occurs: Uncaught TypeError: Cannot read property 'isNew' of null


No tags attached.
Issue History
2011-05-26 15:16mtaalNew Issue
2011-05-26 15:16mtaalAssigned To => mtaal
2011-05-26 15:16mtaalModules => Core
2011-05-31 08:58hgbotCheckin
2011-05-31 08:58hgbotNote Added: 0037763
2011-05-31 08:58hgbotStatusnew => resolved
2011-05-31 08:58hgbotResolutionopen => fixed
2011-05-31 08:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6f8af6b1c3b0598a6a898b7f0ed0befbda8d9cbc [^]
2011-05-31 21:36hudsonbotCheckin
2011-05-31 21:36hudsonbotNote Added: 0037852
2011-06-06 17:00shuehnerNote Added: 0038058
2011-06-06 17:00shuehnerStatusresolved => new
2011-06-06 17:00shuehnerResolutionfixed => open
2011-06-07 14:20shuehnerNote Added: 0038125
2011-06-07 15:40hgbotCheckin
2011-06-07 15:40hgbotNote Added: 0038131
2011-06-07 15:40hgbotStatusnew => resolved
2011-06-07 15:40hgbotResolutionopen => fixed
2011-06-07 15:40hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/6f8af6b1c3b0598a6a898b7f0ed0befbda8d9cbc [^] => http://code.openbravo.com/erp/devel/pi/rev/f95c009cda2eea0c9026345f9cd6772ba9caa670 [^]
2011-06-07 15:42shuehnerNote Added: 0038133
2011-06-07 15:42shuehnerStatusresolved => closed

Notes
(0037763)
hgbot   
2011-05-31 08:58   
Repository: erp/devel/pi
Changeset: 6f8af6b1c3b0598a6a898b7f0ed0befbda8d9cbc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue May 31 08:57:34 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6f8af6b1c3b0598a6a898b7f0ed0befbda8d9cbc [^]

Fixes issue 17382: Entering new lines in grid view fails after canceling first line

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0037852)
hudsonbot   
2011-05-31 21:36   
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/b7e7d64488f5 [^]

Maturity status: Test
(0038058)
shuehner   
2011-06-06 17:00   
The issue as decribed seems to work fine now.
However can still be reproduced with the following slightly different steps:
- Start with empty grid
- click new in grid
- enter mandatory fiedlds + save
- mark line in grid and delete it again
- Grid should now be empty again
- Try 'new in grid' fails with error described in this bug
(0038125)
shuehner   
2011-06-07 14:20   
Re-tested in pi-mp (rev: 122cb30b2d75). Working fine now after latest commit to pi-mp0. Not closing issue yet as pi-commit is still missing.
(0038131)
hgbot   
2011-06-07 15:40   
Repository: erp/devel/pi
Changeset: f95c009cda2eea0c9026345f9cd6772ba9caa670
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jun 07 15:40:00 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f95c009cda2eea0c9026345f9cd6772ba9caa670 [^]

Fixes issue 17382: Entering new lines in grid view fails after canceling first line

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0038133)
shuehner   
2011-06-07 15:42   
Closing, see comment 38125 for details.