Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020544
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorrandom2012-05-18 08:272012-05-28 10:13
ReporterjecharriView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchFixed in SCM revisionaf4557ab55b2
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020544: Default values sometimes fail to load

DescriptionDefault values sometimes fail to load.

Steps To ReproduceAs "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
TagsNo tags attached.
Attached Filespng file icon dateordered.png [^] (151,166 bytes) 2012-05-18 08:27


png file icon dateordered2.png [^] (161,959 bytes) 2012-05-18 08:28


log file icon dateordered.log [^] (18,584 bytes) 2012-05-18 08:39

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
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 (developer)
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 (manager)
2012-05-28 10:13

Code reviewed and verified on pi@87f24231e3f1

- Issue History
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 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
Powered by Mantis Bugtracker