|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Openbravo ERP] A. Platform||major||always||2013-09-11 13:54||2013-09-17 19:03|
|Priority||immediate||Resolution||fixed||Fixed in Version||3.0MP28|
|Status||closed||Fix in branch||Fixed in SCM revision||9138cdfbcb9b|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To||shankarb|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0024741: Error when inserting a row on grid mode pressing tab key for selecting a value on a selector
|Description||Error when inserting a row on grid mode pressing tab key for selecting a value on a selector|
|Steps To Reproduce||-Access to the sales invoice window|
-Click on insert on grid view
-Using the keyboardand tab fill the records.
-On the partner selector start righting a name of an existing selector.
-When the partner appears click on tab key to select it
*See that on the first exection the row is not saved and a new row to insert is opened.
Close the new row and cancel the insertiion of the row.
-Repeat the process to inert a new row
*On this time after click on tab key on the partner field the save button change to loading (saving) but never ends.
|Tags||No tags attached.|
edited on: 2013-09-13 12:28
The problems seems to be caused because the callout on a field on the grid trying to update a field not on the grid.
Also with a validation of a field not in grid referring to a field changed on the grid
This happens because the datasource request to save the record is issued before receiving the FIC response. The FIC response contains the values updated after executing the callouts, so the datasource request does not have this updated data.
To solve this, the datasource request needs to be delayed until the FIC response is processed.
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 16 15:06:01 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9138cdfbcb9badfceaf1a0eb54b4be87fec6eb35 [^]
Fixes issue 24741: Row saved by pressing a tab for picking a selector value
The problem was that the request to the datasource to save the new record was being done before the response of the FIC (it was called because picking a business partner triggers a callout to select its location) was received and processed. This has been fixed by delaying the execution of the cellEditEnd function until the FIC response has been processed.
|Code reviewed and verified in pi changeset a549285cc9f0|
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/1c53d622fc50 [^]
Maturity status: Test
|2013-09-11 13:54||egoitz||New Issue|
|2013-09-11 13:54||egoitz||Assigned To||=> AugustoMauch|
|2013-09-11 13:54||egoitz||Modules||=> Core|
|2013-09-11 13:54||egoitz||Triggers an Emergency Pack||=> No|
|2013-09-12 12:04||egoitz||Priority||urgent => immediate|
|2013-09-13 11:56||egoitz||Assigned To||AugustoMauch => alostale|
|2013-09-13 12:16||egoitz||Note Added: 0061139|
|2013-09-13 12:28||egoitz||Note Edited: 0061139||View Revisions|
|2013-09-13 12:34||AugustoMauch||Assigned To||alostale => AugustoMauch|
|2013-09-13 14:58||AugustoMauch||Note Added: 0061143|
|2013-09-16 15:17||AugustoMauch||Issue Monitored: shankarb|
|2013-09-16 15:17||AugustoMauch||Review Assigned To||=> shankarb|
|2013-09-16 15:18||hgbot||Note Added: 0061174|
|2013-09-16 15:18||hgbot||Status||new => resolved|
|2013-09-16 15:18||hgbot||Resolution||open => fixed|
|2013-09-16 15:18||hgbot||Fixed in SCM revision||=> http://code.openbravo.com/erp/devel/pi/rev/9138cdfbcb9badfceaf1a0eb54b4be87fec6eb35 [^]|
|2013-09-17 09:06||shankarb||Note Added: 0061187|
|2013-09-17 09:06||shankarb||Status||resolved => closed|
|2013-09-17 09:06||shankarb||Fixed in Version||=> 3.0MP28|
|2013-09-17 19:03||hudsonbot||Note Added: 0061257|
|2013-10-02 09:08||egoitz||Relationship added||related to 0024863|
|Copyright © 2000 - 2009 MantisBT Group|