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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019702
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-02-09 11:242012-03-02 15:35
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchFixed in SCM revisionc1967f90a2b6
ProjectionnoneETAnoneTarget Version3.0MP9
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

0019702: Form Item not disabled when calling FIC

DescriptionWhen a callout is fired (the FormInitializationComponent is called), then the current focused item does not get disabled. This because it keeps the focus.
Steps To ReproduceGo to sales order lines
in grid mode
edit an existing record
click the combo of the product to pick a new product in the drop-down
when picking a new product the form gets disabled
only the focused field does not get disabled
Proposed SolutionIn ob-smartclient.js there is a bug. The current overwrite of bluritem is this:

  blurItem: function() {
    if (!this.form || this.form.destroyed || this.form._isRedrawing) {
      return;
    }
    this.Super('blurItem', arguments);
  },

but there is no super bluritem implementation, the following should be done:
  _doBlurItem: isc.FormItem.getPrototype().blurItem,
   blurItem: function() {
     if (!this.form || this.form.destroyed || this.form._isRedrawing) {
       return;
     }
    this._doBlurItem();
   },



TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0044954)
hgbot (developer)
2012-02-09 11:53

Repository: erp/devel/pi
Changeset: c1967f90a2b6073f17905f3a37e32196576baaa1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Feb 09 11:50:48 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c1967f90a2b6073f17905f3a37e32196576baaa1 [^]

Fixes issue 19702: Form Item not disabled when calling FIC

---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0045301)
alostale (manager)
2012-02-21 11:14

Code reviewed and tested on pi@8e3bca6e8153
(0045784)
hudsonbot (developer)
2012-03-02 15:35

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/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-09 11:24 mtaal New Issue
2012-02-09 11:24 mtaal Assigned To => mtaal
2012-02-09 11:24 mtaal Modules => Core
2012-02-09 11:50 mtaal Proposed Solution updated
2012-02-09 11:53 hgbot Checkin
2012-02-09 11:53 hgbot Note Added: 0044954
2012-02-09 11:53 hgbot Status new => resolved
2012-02-09 11:53 hgbot Resolution open => fixed
2012-02-09 11:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c1967f90a2b6073f17905f3a37e32196576baaa1 [^]
2012-02-21 11:14 alostale Note Added: 0045301
2012-02-21 11:14 alostale Status resolved => closed
2012-02-21 11:14 alostale Fixed in Version => 3.0MP9
2012-03-02 15:35 hudsonbot Checkin
2012-03-02 15:35 hudsonbot Note Added: 0045784


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker