Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024502Openbravo ERPA. Platformpublic2013-08-07 12:462013-08-16 20:32
plujan 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
pi 
3.0MP27 
AugustoMauch
No
Core
Automated tests
2013-07-30
https://code.openbravo.com/erp/devel/pi/rev/1724b65a331a [^]
No
0024502: TestRegistry object changes to "undefined" causing the selenium tests to fail
The issue is causing this error at Integration: http://builds.openbravo.com/job/int-gui-pgsql/1329/testReport/junit/com.openbravo.test.integration.erp.modules.client.application.testsuites.standardview.grid/GRD0110_MoveToNextRecordWhileEditingInGrid/nextRecordShouldSelectedForEdition_0_/ [^]

See steps to reproduce it manually.
1. As System Administrator, go to Unit of Measure window
2. Filter by name "Lab". Two results should be visible
3. Select the first one "Labour Day"
4. Open the javascript console (*) and execute: window.OB.TestRegistry.registry['org.openbravo.client.application.ViewGrid_133'].selection.lastSelectionItem.editColumnLayout.children
5. A 6-element array should be displayed as output
6. Open the selected record in Form view
7. Repeat step 4 and the result should be as step 5
8. Use the Save and Close button to return to grid view
9. Repeat step 4. This time, undefined is returned.

(*) This step requires the test.environment value in Openbravo.properties set to true (it is false by default)
No tags attached.
related to feature request 00244033.0MP29 closed AugustoMauch When the grid calls the datasource, it should not retrieve the properties that are not shown in the grid. 
Issue History
2013-08-07 12:46plujanNew Issue
2013-08-07 12:46plujanAssigned To => AugustoMauch
2013-08-07 12:46plujanModules => Core
2013-08-07 12:46plujanOBNetwork customer => No
2013-08-07 12:46plujanTriggers an Emergency Pack => No
2013-08-07 12:47plujanRegression level => Automated tests
2013-08-07 12:47plujanRegression date => 2013-07-30
2013-08-07 12:47plujanRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/1724b65a331a [^]
2013-08-07 16:18alostaleRelationship addedrelated to 0024403
2013-08-07 16:27hgbotCheckin
2013-08-07 16:27hgbotNote Added: 0060537
2013-08-07 16:27hgbotStatusnew => resolved
2013-08-07 16:27hgbotResolutionopen => fixed
2013-08-07 16:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8b3d1a079183a8132c233d52b48014f492d2c530 [^]
2013-08-08 15:25alostaleReview Assigned To => AugustoMauch
2013-08-16 08:41AugustoMauchNote Added: 0060599
2013-08-16 08:41AugustoMauchStatusresolved => closed
2013-08-16 08:41AugustoMauchFixed in Version => 3.0MP27
2013-08-16 20:32hudsonbotCheckin
2013-08-16 20:32hudsonbotNote Added: 0060634

Notes
(0060537)
hgbot   
2013-08-07 16:27   
Repository: erp/devel/pi
Changeset: 8b3d1a079183a8132c233d52b48014f492d2c530
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Aug 07 16:26:59 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8b3d1a079183a8132c233d52b48014f492d2c530 [^]

fixed bug 24504, fixed bug 24502, related to bug 24403, related to bug 24402

  Backout of fix for issue 0024403 as it creates regressions 0024504 and 0024502

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-grid.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0060599)
AugustoMauch   
2013-08-16 08:41   
Code reviewed and verified in pi@3fbf3113169e
(0060634)
hudsonbot   
2013-08-16 20:32   
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/59a1180e7f4f [^]

Maturity status: Test