Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029032Openbravo ERPA. Platformpublic2015-02-23 18:132015-03-02 08:39
AugustoMauch 
AugustoMauch 
immediatecriticalhave not tried
closedfixed 
5
 
3.0PR15Q2 
alostale
Core
Automated tests
2015-02-23
pi
https://code.openbravo.com/erp/devel/pi/rev/d061c9e837aa5a0ce0a7fb221e1ac8c822748988 [^]
No
0029032: int-basic-pgsql/oracle tests are broken due to change in pick and execute windows
when this changeset [1] was pushed to pi the int-basic-pgsql and int-basic-oracle tests stopped working. The problem seems to be that the actions that be done when a record is selected in a Pick and Edit window are not taking place.

[1] https://code.openbravo.com/erp/devel/pi/rev/d061c9e837aa5a0ce0a7fb221e1ac8c822748988 [^]
See [1] and [2]

[1] http://ci.openbravo.com/job/int-basic-pgsql/772/ [^]
[2] http://ci.openbravo.com/job/int-basic-oracle/780/ [^]
No tags attached.
caused by defect 00287123.0PR15Q2 closed alostale Records selection is lost in pick and execute window under some circumnstances 
Issue History
2015-02-23 18:13AugustoMauchNew Issue
2015-02-23 18:13AugustoMauchAssigned To => AugustoMauch
2015-02-23 18:13AugustoMauchModules => Core
2015-02-23 18:13AugustoMauchRegression level => Automated tests
2015-02-23 18:13AugustoMauchRegression date => 2015-02-23
2015-02-23 18:13AugustoMauchRegression introduced in release => pi
2015-02-23 18:13AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/d061c9e837aa5a0ce0a7fb221e1ac8c822748988 [^]
2015-02-23 18:13AugustoMauchTriggers an Emergency Pack => No
2015-02-23 18:13AugustoMauchRelationship addedcaused by 0028712
2015-02-23 18:21AugustoMauchIssue Monitored: alostale
2015-02-23 18:21AugustoMauchReview Assigned To => alostale
2015-02-23 18:22hgbotCheckin
2015-02-23 18:22hgbotNote Added: 0074815
2015-02-23 18:22hgbotStatusnew => resolved
2015-02-23 18:22hgbotResolutionopen => fixed
2015-02-23 18:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7b4dd6eca8a6caf515c1b09f969069da0482d88e [^]
2015-02-24 10:56hgbotCheckin
2015-02-24 10:56hgbotNote Added: 0074828
2015-02-24 11:08hgbotCheckin
2015-02-24 11:08hgbotNote Added: 0074831
2015-02-24 11:08hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/7b4dd6eca8a6caf515c1b09f969069da0482d88e [^] => http://code.openbravo.com/erp/devel/pi/rev/b8e08285349001bc1d72d2a0a49f40be59a1e2db [^]
2015-02-24 23:09hudsonbotCheckin
2015-02-24 23:09hudsonbotNote Added: 0074892
2015-02-24 23:09hudsonbotCheckin
2015-02-24 23:09hudsonbotNote Added: 0074893
2015-02-24 23:09hudsonbotCheckin
2015-02-24 23:09hudsonbotNote Added: 0074894
2015-03-02 08:39alostaleNote Added: 0075052
2015-03-02 08:39alostaleStatusresolved => closed
2015-03-02 08:39alostaleFixed in Version => 3.0PR15Q2

Notes
(0074815)
hgbot   
2015-02-23 18:22   
Repository: erp/devel/pi
Changeset: 7b4dd6eca8a6caf515c1b09f969069da0482d88e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Feb 23 18:20:43 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7b4dd6eca8a6caf515c1b09f969069da0482d88e [^]

Fixes bug 29032: Arguments to the selectionChanged function are passed properly

Before this changeset [1] was committed, the OBPickAndExecuteGrid.selectionUpdated(record, selected) function did not take into account the second parameter. This parameter was set to true if the record was being selected and to false if it was being deselected.

Now that the selected parameter is being taking into account, some APRM logic that should be executed when a record in a P&E window is selected is not being run. The problem was that tje selection updated function was being called incorrectly, like this:

this.Super('selectionChanged', record, state);

When invoking the Super function, all the parameters that are to be passed to the function should be included in the second argument (as an array if there are more than one). This is the way it should be done:

this.Super('selectionChanged', [record, state]);

[1] https://code.openbravo.com/erp/devel/pi/rev/d061c9e837aa5a0ce0a7fb221e1ac8c822748988 [^]

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0074828)
hgbot   
2015-02-24 10:56   
Repository: erp/devel/pi
Changeset: 3a5c4c183c9c5ea6816975ff39b78331accc1b28
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Feb 24 10:55:13 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3a5c4c183c9c5ea6816975ff39b78331accc1b28 [^]

Related with issue 29032: Use arguments keyword instead of parameter array

The achieved result is the same, but using the arguments keyword is better because it would not be affected by a change in the name of the parameters

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0074831)
hgbot   
2015-02-24 11:08   
Repository: erp/devel/pi
Changeset: b8e08285349001bc1d72d2a0a49f40be59a1e2db
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Feb 24 11:07:02 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b8e08285349001bc1d72d2a0a49f40be59a1e2db [^]

Fixes issue 29032, related with issue 28712: Backs out changeset d061c9e837aa

This changeset has been backed out as it is breaking the int-basic-pgsql and int-basic-oracle tests.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-pickeditgrid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0074892)
hudsonbot   
2015-02-24 23:09   
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/6c8e140b31ec [^]
Maturity status: Test
(0074893)
hudsonbot   
2015-02-24 23:09   
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/6c8e140b31ec [^]
Maturity status: Test
(0074894)
hudsonbot   
2015-02-24 23:09   
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/6c8e140b31ec [^]
Maturity status: Test
(0075052)
alostale   
2015-03-02 08:39   
code reviewed + tested