Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025028 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2013-10-25 15:23 | 2013-11-27 13:15 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | shankarb | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP30 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 091cc28d75e0 | ||||
Projection | none | ETA | none | Target Version | 3.0MP30 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 24208 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025028: Default value applied again after updating a numeric field with a trigger | |||||||
Description | If we have a trigger that updates a numeric field and also it has a default value, the default value is applied again after the trigger if the window is not refreshed. | |||||||
Steps To Reproduce | 1) Create a trigger that updates a quantity (Attached is an example). For example a trigger that sets the qtyordered of orderline table to 3 before insert. (This column has 1 as default value) 2) Go to the [Sales Order] window. Create one record in the header. 3) Go to the lines tab. Create a new record, notice that the ordered quantity field is filled with 1. 4) Select a product and save. Notice that the field is updated with 3. 5) Save the record. Don't refresh the window. 6) Edit the line, change the lineno field and save. Notice that the default value has been applied again: the ordered quantity is now 1. 7) If we refresh the window in step 5) then, the problem is not happening. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0062324) hgbot (developer) 2013-11-21 12:45 |
Repository: erp/devel/pi Changeset: 091cc28d75e0fd11049eabfc3fdcc67825783830 Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com> Date: Thu Nov 21 16:57:23 2013 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/091cc28d75e0fd11049eabfc3fdcc67825783830 [^] Fixes Issue 25028: value not refreshed in numeric field in some cases Update the focus cell value if different from edit form values. To avoid the case where sometimes data updated through trigger is not showing up without refreshing. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js --- |
(0062357) hudsonbot (viewer) 2013-11-24 16:24 |
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/3beeb610e27e [^] Maturity status: Test |
(0062409) AugustoMauch (administrator) 2013-11-27 13:15 |
Code reviewed and verified in pi@37745290efe5 |
![]() |
|||
Date Modified | Username | Field | Change |
2013-10-25 15:23 | caristu | New Issue | |
2013-10-25 15:23 | caristu | Assigned To | => AugustoMauch |
2013-10-25 15:23 | caristu | File Added: triggerTest | |
2013-10-25 15:23 | caristu | Modules | => Core |
2013-10-25 15:23 | caristu | OBNetwork customer | => Yes |
2013-10-25 15:23 | caristu | Support ticket | => 24208 |
2013-10-25 15:23 | caristu | Triggers an Emergency Pack | => No |
2013-10-25 15:23 | caristu | Target Version | => 3.0MP30 |
2013-10-25 15:23 | caristu | Issue Monitored: networkb | |
2013-10-25 15:44 | caristu | Description Updated | View Revisions |
2013-11-20 05:10 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-11-21 12:30 | shankarb | Review Assigned To | => AugustoMauch |
2013-11-21 12:31 | shankarb | Issue Monitored: AugustoMauch | |
2013-11-21 12:45 | hgbot | Checkin | |
2013-11-21 12:45 | hgbot | Note Added: 0062324 | |
2013-11-21 12:45 | hgbot | Status | new => resolved |
2013-11-21 12:45 | hgbot | Resolution | open => fixed |
2013-11-21 12:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/091cc28d75e0fd11049eabfc3fdcc67825783830 [^] |
2013-11-24 16:24 | hudsonbot | Checkin | |
2013-11-24 16:24 | hudsonbot | Note Added: 0062357 | |
2013-11-27 13:15 | AugustoMauch | Note Added: 0062409 | |
2013-11-27 13:15 | AugustoMauch | Status | resolved => closed |
2013-11-27 13:15 | AugustoMauch | Fixed in Version | => 3.0MP30 |
2014-04-28 10:55 | guillermogil | Relationship added | related to 0026395 |
2019-06-11 13:18 | caristu | Relationship added | related to 0040463 |
Copyright © 2000 - 2009 MantisBT Group |