Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035877 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2017-04-28 10:20 | 2017-04-28 13:35 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q4.4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0d164fa6e14f | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q4.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2017-04-21 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/bcf679ab26bb68d6e390d0d443c36349811b2918 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035877: On change functions not executed for numeric parameters | |||||||
Description | Due to the following changeset[1], on change functions are not being executed for numeric parameters. In this case the view is not retrieved properly, causing an exception because in that case we are trying to read a property from an undefined value. Detected due to the failure of the following jobs in CI[2],[3],[4] [1] https://code.openbravo.com/erp/devel/pi/rev/bcf679ab26bb68d6e390d0d443c36349811b2918 [^] [2] http://ci.openbravo.com/view/qa/job/qa-pi-addpayment-pgsql/743/ [^] [3] http://ci.openbravo.com/view/qa/job/qa-pi-aprinreg-pgsql/719/ [^] [4] http://ci.openbravo.com/view/qa/job/qa-pi-salproreg-pgsql/725/ [^] | |||||||
Steps To Reproduce | 1) Go to the [Payment In] window 2) Create a new record 3) Click in Add Details 4) Enter a value in the "Actual Payment" parameter and move outside to launch the execution of its on change function. It should update the value of the "There is a difference field" --> ERROR: not being updated because the on change function is not fired. | |||||||
Proposed Solution | The fix for issue 0035658 does not take into account numeric fields in P&E windows which are out of a parameter grid. See attached path with the proposed solution. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0096259) hgbot (developer) 2017-04-28 12:59 |
Repository: erp/backports/3.0PR16Q4.4 Changeset: 0d164fa6e14f71b0938a418c18de6c3b28849557 Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Fri Apr 28 12:58:40 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.4/rev/0d164fa6e14f71b0938a418c18de6c3b28849557 [^] Fixed issue 35877: On change functions not executed for numeric parameters The problem was that on change functions was not executed for numeric parameters. This problem was caused by the partial fix of 0035658 regression. The fix of 0035658 was partial because the added condition did not taken into account numeric fields in P&E windows which are out of a parameter grid. This problem has been resolved by take into account this case. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js --- |
(0096266) caristu (developer) 2017-04-28 13:35 |
Code review + testing OK. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-04-28 11:36 | inigosanchez | Type | defect => backport |
2017-04-28 11:36 | inigosanchez | Target Version | => 3.0PR16Q4.4 |
2017-04-28 11:43 | inigosanchez | Review Assigned To | => alostale |
2017-04-28 12:49 | inigosanchez | Review Assigned To | alostale => caristu |
2017-04-28 12:59 | hgbot | Checkin | |
2017-04-28 12:59 | hgbot | Note Added: 0096259 | |
2017-04-28 12:59 | hgbot | Status | scheduled => resolved |
2017-04-28 12:59 | hgbot | Resolution | open => fixed |
2017-04-28 12:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q4.4/rev/0d164fa6e14f71b0938a418c18de6c3b28849557 [^] |
2017-04-28 13:35 | caristu | Note Added: 0096266 | |
2017-04-28 13:35 | caristu | Status | resolved => closed |
2017-04-28 13:35 | caristu | Fixed in Version | => 3.0PR16Q4.4 |
Copyright © 2000 - 2009 MantisBT Group |