Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035806 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2017-03-30 16:22 | 2017-04-24 13:46 | |||
Reporter | JONHM | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q1.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 35fe280e4dfc | ||||
Projection | none | ETA | none | Target Version | 3.0PR17Q1.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-02-11 | |||||||
Regression introduced in release | 3.0PR16Q2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/670d9903e7053700dad4cd2321b3df166571e122 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035806: Fields redraws in grid view when a numeric field is referenced by a read only logic | |||||||
Description | When editing a numeric field in grid view which is referenced by read only logic by some other field of the same table, it redraws and format its value automatically | |||||||
Steps To Reproduce | As System Administrator: 1) Open 'Tables and columns' window 2) Select C_OrderLine table and PriceActual field 3) Edit its Read Only Logic adding the reference to the PriceList column: @Processed@='Y' | @GROSSPRICE@='Y' & @PriceList@!0 4) Then, make the same step with the PriceList field, referencing the PriceActual column: @Processed@='Y' & @PriceActual@!0 As 'F&B International Group Admin': 4) Open Sales Order window and create a new record 5) Create a new record in grid view into [Lines] subtab also change its 'Net Unit Price' --> The net unit price will be redrawed inmediately | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0096101) hgbot (developer) 2017-04-21 13:31 |
Repository: erp/backports/3.0PR17Q1.1 Changeset: 35fe280e4dfc2f21f817b8b2907ed9dcb14f9327 Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Fri Apr 21 13:30:38 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.1/rev/35fe280e4dfc2f21f817b8b2907ed9dcb14f9327 [^] Fixed issue 35806: Fields redraw instantly in grid under some circumstances The problem was that numeric fields redraws instantly in grid view when a numeric field was referenced by a read only logic. This reported problem was caused by the partial fix of 0032202 regression. The fix of 0032202 was partial because the added condition did not taken into account the grid view properly. This problem has been resolved by take into account form and grid view. Besides another problem was found and resolved with this fix. Since this regression was introduced, the 0023136 issue was broken too. This problem has been resolved too with this solution. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js --- |
(0096119) hgbot (developer) 2017-04-24 12:02 |
Repository: erp/backports/3.0PR17Q1.1 Changeset: 3ccd9e68434335495a99c7d047f8684f777c545d Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Mon Apr 24 12:01:09 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.1/rev/3ccd9e68434335495a99c7d047f8684f777c545d [^] Related with issue 35806: Codereview take into account all the cases Now it is take into account when a parameter window with grid is opened from the menu. Rest of the cases sucha as grid, form and parameter window from a button is working as expected too. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js --- |
(0096134) caristu (developer) 2017-04-24 13:46 |
Code reviewed + tested OK. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-04-20 10:57 | inigosanchez | Type | defect => backport |
2017-04-20 10:57 | inigosanchez | Target Version | => 3.0PR17Q1.1 |
2017-04-21 13:29 | inigosanchez | Review Assigned To | => caristu |
2017-04-21 13:31 | hgbot | Checkin | |
2017-04-21 13:31 | hgbot | Note Added: 0096101 | |
2017-04-21 13:31 | hgbot | Status | scheduled => resolved |
2017-04-21 13:31 | hgbot | Resolution | open => fixed |
2017-04-21 13:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q1.1/rev/35fe280e4dfc2f21f817b8b2907ed9dcb14f9327 [^] |
2017-04-24 12:02 | hgbot | Checkin | |
2017-04-24 12:04 | hgbot | Note Added: 0096119 | |
2017-04-24 13:46 | caristu | Note Added: 0096134 | |
2017-04-24 13:46 | caristu | Status | resolved => closed |
2017-04-24 13:46 | caristu | Fixed in Version | => 3.0PR17Q1.1 |
Copyright © 2000 - 2009 MantisBT Group |