Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0006027 | Openbravo ERP | 09. Financial management | public | 2008-11-18 16:57 | 2009-02-19 13:52 |
|
Reporter | plujan | |
Assigned To | gorka_gil | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0006027: [QA-alpha-r1] I get an error after deleting a G/L Item |
Description | I created a wrong G/L Item. I delete it. After the message of success deletion, if I stay a while, I get an error message:
"Error: The data can ve incomplete because the server not replayed at specified time. Check the connection with the server". See attach.
The message is not correct since I still have connection and I am able to keep using the application as well. |
Steps To Reproduce | Create a new G/L Item
Delete it
After success message, wait 30 seconds. |
Proposed Solution | |
Additional Information | |
Tags | platform1_sprint1 |
Relationships | |
Attached Files | R250alpha_BUG_DeletingGLItemError.JPG (87,973) 2008-11-18 16:57 https://issues.openbravo.com/file_download.php?file_id=432&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2008-11-18 16:57 | plujan | New Issue | |
2008-11-18 16:57 | plujan | Assigned To | => gorka_gil |
2008-11-18 16:57 | plujan | sf_bug_id | 0 => 2309765 |
2008-11-18 16:57 | plujan | File Added: R250alpha_BUG_DeletingGLItemError.JPG | |
2008-11-18 16:57 | plujan | Regression testing | => No |
2008-11-18 16:58 | plujan | Status | new => scheduled |
2008-11-18 16:58 | plujan | fix_in_branch | => trunk |
2008-11-27 15:27 | gorka_gil | Note Added: 0010778 | |
2008-12-15 10:59 | gorka_gil | Tag Attached: platform1_sprint1 | |
2008-12-16 19:57 | svnbot | Checkin | |
2008-12-16 19:57 | svnbot | Note Added: 0011455 | |
2008-12-16 19:57 | svnbot | Status | scheduled => resolved |
2008-12-16 19:57 | svnbot | Resolution | open => fixed |
2008-12-16 19:57 | svnbot | svn_revision | => 11276 |
2009-02-19 13:52 | sureshbabu | Status | resolved => closed |
2009-02-19 13:52 | sureshbabu | Note Added: 0013739 | |
2009-02-19 13:52 | sureshbabu | Fixed in Version | => trunk |
Notes |
|
|
This bug happens when you delete a record from any grid and you wait 15 seconds.
This bug has appeared when was solved the issue 482, that show a message in grid timeout.
The actual problem is when the grid set many timeouts (like occur when its's deleted a record), but the responses take more time than the time for set other tiemout.
This is a problem because the timeout ID is stored in one variable instead an array.
An example:
this.timeoutHandler = setTimeout("handleTimedOut", 15);
timeoutHandler has value 32;
...
this.timeoutHandler = setTimeout("handleTimedOut", 15);
timeoutHandler has value 16;
after this the responses to ajaxcall come back and the grid clears the timeouts but only has stored the last value, and makes a twice the same clearTimeout.
clearTimeout( this.timeoutHandler ); // timeoutHandler with value 16 instead 32
clearTimeout( this.timeoutHandler ); // timeoutHandler with value 16
The first timeout is not cleared and when finish shows the message.
Two proposed solution:
1. store the timeouts ids in an array
2. controls when timeouts occurs in a different way than the standard handleTimedOut of the grid |
|
|
(0011455)
|
svnbot
|
2008-12-16 19:57
|
|
Repository: openbravo
Revision: 11276
Author: gorka_gil
Date: 2008-12-16 19:57:20 +0100 (Tue, 16 Dec 2008)
Fixed bug 6027 when deleting a row in a datagrid, after 15s don't show an error message.
Now datagrid has an array for timeouts that permits make a clearTimeout of all timeouts.
---
U trunk/web/js/openbravo/widget/DataGrid.js
---
https://dev.openbravo.com/websvn/openbravo/?rev=11276&sc=1 [^]
|
|
|
|
Retested in context 79.125.56.185/openbravotrunk |
|