Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020544 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | random | 2012-05-18 08:27 | 2012-05-28 10:13 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
Status | closed | Fix in branch | Fixed in SCM revision | af4557ab55b2 | ||||
Projection | none | ETA | none | Target Version | 3.0MP14 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | 15458 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020544: Default values sometimes fail to load | |||||||
Description | Default values sometimes fail to load. | |||||||
Steps To Reproduce | As "System" display the field dateordered in "sales order" lines. As "Group Admin" go to "Sales Order" window and create a Header. Go to lines tab: -create a record in grid with tollbar button (insert a product) -without save, push in new record in form (insert a product) -without save, push in new record in form (insert a product) -... Sometimes, "Order Date" field value does not load correctly. The default value for this field is the header field "Order date". I have attached 2 images where I have reproduced the problem in live | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0048923) hgbot (developer) 2012-05-24 18:04 |
Repository: erp/devel/pi Changeset: af4557ab55b27f078145027e89d46d4ee744c106 Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Thu May 24 18:00:18 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/af4557ab55b27f078145027e89d46d4ee744c106 [^] Fixed issue 20544: FIC SETSESSION shouldn't set the session with null values --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0048924) guilleaer (viewer) 2012-05-24 18:17 |
Test plan: Follow the steps to reproduce. It shouldn't happen again. This fix is not risky Note: In form view, when a row is being added and the required data has been completed correctly, 'create row' button of the toolbar is clicked. In this moment the current line is saved and the form to enter the data of the new line is shown. In this case FIC receives 2 requests, the first(mode=SETSESSION) to save in session the data of the created row, the second one (mode=NEW) generates the values for the line which we are about to create. Normally, the SETSESSION command arrives to the FIC before the NEW command, but sometimes the commands are received in the reverse order. If that happens, the selectors will be broken and the default values will not be properly set. This happens because the FIC will try to process the SETSESSION command for the new line, which does not have any values yet, when it should process the line that was just saved. |
(0049208) hudsonbot (viewer) 2012-05-25 12:13 |
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/5401e185a8b0 [^] Maturity status: Test |
(0049339) alostale (viewer) 2012-05-28 10:13 |
Code reviewed and verified on pi@87f24231e3f1 |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-18 08:27 | jecharri | New Issue | |
2012-05-18 08:27 | jecharri | Assigned To | => alostale |
2012-05-18 08:27 | jecharri | File Added: dateordered.png | |
2012-05-18 08:27 | jecharri | Web browser | => Google Chrome |
2012-05-18 08:27 | jecharri | Modules | => Core |
2012-05-18 08:27 | jecharri | OBNetwork customer | => Yes |
2012-05-18 08:27 | jecharri | Support ticket | => 15458 |
2012-05-18 08:27 | jecharri | Resolution time | => 1344031200 |
2012-05-18 08:28 | jecharri | File Added: dateordered2.png | |
2012-05-18 08:30 | jecharri | Web browser | Google Chrome => Google Chrome |
2012-05-18 08:30 | jecharri | Summary | Default values sometimes fail => Default values sometimes fail to load |
2012-05-18 08:30 | jecharri | Description Updated | View Revisions |
2012-05-18 08:30 | jecharri | Steps to Reproduce Updated | View Revisions |
2012-05-18 08:39 | jecharri | File Added: dateordered.log | |
2012-05-23 15:31 | alostale | Assigned To | alostale => guilleaer |
2012-05-24 18:04 | hgbot | Checkin | |
2012-05-24 18:04 | hgbot | Note Added: 0048923 | |
2012-05-24 18:04 | hgbot | Status | new => resolved |
2012-05-24 18:04 | hgbot | Resolution | open => fixed |
2012-05-24 18:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/af4557ab55b27f078145027e89d46d4ee744c106 [^] |
2012-05-24 18:17 | guilleaer | Note Added: 0048924 | |
2012-05-25 12:13 | hudsonbot | Checkin | |
2012-05-25 12:13 | hudsonbot | Note Added: 0049208 | |
2012-05-28 10:13 | alostale | Note Added: 0049339 | |
2012-05-28 10:13 | alostale | Status | resolved => closed |
2012-05-28 10:13 | alostale | Fixed in Version | => 3.0MP12 |
Copyright © 2000 - 2009 MantisBT Group |