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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006027
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminorhave not tried2008-11-18 16:572009-02-19 13:52
ReporterplujanView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision11276
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006027: [QA-alpha-r1] I get an error after deleting a G/L Item

DescriptionI 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 ReproduceCreate a new G/L Item
Delete it
After success message, wait 30 seconds.
Tagsplatform1_sprint1
Attached Filesjpg file icon R250alpha_BUG_DeletingGLItemError.JPG [^] (87,973 bytes) 2008-11-18 16:57

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0010778)
gorka_gil (administrator)
2008-11-27 15:27

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 (reporter)
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 [^]
(0013739)
sureshbabu (reporter)
2009-02-19 13:52

Retested in context 79.125.56.185/openbravotrunk

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker