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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019960
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformmajorhave not tried2012-03-06 15:462022-02-01 08:08
ReportermtaalView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019960: Clean up asynchronous behavior in the application

DescriptionThe application has several places where we do asynchronous calls, the usage of asynchronous calls results in more unpredictable behavior of the application.

We should get rid of asynchronous behavior as much as possible, but in some cases it makes sense, see the attached presentation.

Some delays are done to execute an action after a redraw is done, so while redrawing the action should wait, for example in ob-view-form.js there is this:
    if (this.isDirty()) {
      this.delayCall('focusInNextItem', [currentItemName], 100);
      return;
    }
this should be done differently, if the form is dirty then the focusInNextItem should set a variable, which can be used after the redraw to do the focusinnextitem.

The attached presentation talks about this and other cases.

To find all cases search the js source code for:
delaycall
fireonpause
.IDLE

Also search the js code of the smartclient and the selector modules.

Some delays are used to handle selecting of values correctly after changing the focus. To test focus make sure to test the following cases:
- Tax Rate window, form view, change Base Amount to have a value with "+ Tax Amount" the focus should move to a new field
- Test sales order line, change product, pick a value using the mouse, using the tab key, test in firefox on windows also
Steps To Reproduce.
TagsNo tags attached.
Attached Files? file icon async_javascript.odp [^] (15,752 bytes) 2012-03-06 15:46

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0052387)
AugustoMauch (administrator)
2012-09-24 20:48

Impact: low
Plan: mid

- Issue History
Date Modified Username Field Change
2012-03-06 15:46 mtaal New Issue
2012-03-06 15:46 mtaal Assigned To => alostale
2012-03-06 15:46 mtaal File Added: async_javascript.odp
2012-03-06 15:46 mtaal Modules => Core
2012-05-28 14:18 alostale Target Version 3.0MP12 =>
2012-09-24 20:48 AugustoMauch Note Added: 0052387
2012-09-24 20:48 AugustoMauch Status new => scheduled
2017-03-31 14:36 alostale Status scheduled => acknowledged
2017-04-10 14:33 alostale Assigned To alostale => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker