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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021760
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2012-09-26 12:272012-10-23 13:41
ReporterjecharriView Statuspublic 
Assigned Toshankarb 
PriorityhighResolutionfixedFixed in Version3.0MP17
StatusclosedFix in branchFixed in SCM revision20bb7c237b8a
ProjectionnoneETAnoneTarget Version3.0MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Todbaz
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021760: First Focused Field is not working in tab Customer

DescriptionFirst Focused Field is not working in tab Customer
Steps To ReproduceAs "System" go to "Windows, tabs and fields":
-select window "Business Partner" and go to tab "Customer"
-go to "Fields" and put the field "Price List" as "First Focused Field"
-Uncheck the previous field as first focused.

Execute ant compile.complete.deploy // restart tomcat // verify that it does not work.
Proposed SolutionUse the first focused field property not only when a new row is created but also when the tab gets the focus (now the focus goes to the first field which does not always makes sense because it can be read only)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0052633)
AugustoMauch (manager)
2012-09-26 16:08

This is not a defect, because the first focused field property is only considered when creating a new record, not when the tab is focused.

It has to be discussed if it makes sense to use the first focused field property to set the focus on a particular field when the tab gets the focus.
(0052634)
AugustoMauch (manager)
2012-09-26 16:08

Effort: 1
Impact: mid
Plan: short
(0053374)
shankarb (reporter)
2012-10-16 16:08

Test plan:
1. Modify first focussed field from 'customer' to 'Price List' in the Customer tab under Business Partner.
2. Log out and login into the client admin role.

Before the fix:
1. When we open a record of Business Partner from grid, it will open in form view and the customer tab's record will also open in form view.
2. Left click on the Customer tab.
3. The Customer field will be highlighted even though price list is the first focused field.

After the fix:
1. When we open a record of Business Partner from grid, it will open in form view and the customer tab's record will also open in form view.
2. Left click on the Customer tab.
3. The Price List field will be highlighted (the field that was set as First Focused field)

The rule that is applied is if the last focused field is available, set the focus to that. If not, set the focus to the field that First Focused field property set. If that is a non accessible field, the control will be transferred to the next available field.
(0053409)
hgbot (developer)
2012-10-17 10:10

Repository: erp/devel/pi
Changeset: 20bb7c237b8afba8f9e21b46798c6d0042cac6b9
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Oct 16 16:13:22 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/20bb7c237b8afba8f9e21b46798c6d0042cac6b9 [^]

Fixes Issue 0021760: First Focused Field is not working in tab Customer

The First Focussed field property is used when creating a new row or while editing in grid. But in few tabs, on tab focus, if the lastFocusedItem is null, it picks up the first field in the form. Modified it take the First Focussed field property into account.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0053410)
shankarb (reporter)
2012-10-17 10:14

Reopened to enter Review Assigned to.
(0053510)
hudsonbot (developer)
2012-10-22 13:27

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/483f2e6dc1af [^]

Maturity status: Test
(0053573)
dbaz (developer)
2012-10-23 13:41

Reviewed @ changeset: 18265 - 021d7e0895a3

- Issue History
Date Modified Username Field Change
2012-09-26 12:27 jecharri New Issue
2012-09-26 12:27 jecharri Assigned To => AugustoMauch
2012-09-26 12:27 jecharri Web browser => Google Chrome
2012-09-26 12:27 jecharri Modules => Core
2012-09-26 12:27 jecharri Resolution time => 1355180400
2012-09-26 16:08 AugustoMauch Web browser Google Chrome => Google Chrome
2012-09-26 16:08 AugustoMauch Note Added: 0052633
2012-09-26 16:08 AugustoMauch Type defect => design defect
2012-09-26 16:08 AugustoMauch Proposed Solution updated
2012-09-26 16:08 AugustoMauch Web browser Google Chrome => Google Chrome
2012-09-26 16:08 AugustoMauch Note Added: 0052634
2012-09-26 16:08 AugustoMauch Status new => scheduled
2012-10-09 16:17 AugustoMauch Assigned To AugustoMauch => shankarb
2012-10-16 16:08 shankarb Note Added: 0053374
2012-10-17 10:10 hgbot Checkin
2012-10-17 10:10 hgbot Note Added: 0053409
2012-10-17 10:10 hgbot Status scheduled => resolved
2012-10-17 10:10 hgbot Resolution open => fixed
2012-10-17 10:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/20bb7c237b8afba8f9e21b46798c6d0042cac6b9 [^]
2012-10-17 10:12 shankarb Issue Monitored: dbaz
2012-10-17 10:14 shankarb Note Added: 0053410
2012-10-17 10:14 shankarb Status resolved => new
2012-10-17 10:14 shankarb Resolution fixed => open
2012-10-17 10:14 shankarb Status new => scheduled
2012-10-17 10:14 shankarb fix_in_branch => pi
2012-10-17 10:15 shankarb Review Assigned To => dbaz
2012-10-17 10:15 shankarb Web browser Google Chrome => Google Chrome
2012-10-17 10:15 shankarb fix_in_branch pi =>
2012-10-17 10:15 shankarb Status scheduled => resolved
2012-10-17 10:15 shankarb Resolution open => fixed
2012-10-22 13:27 hudsonbot Checkin
2012-10-22 13:27 hudsonbot Note Added: 0053510
2012-10-23 13:41 dbaz Note Added: 0053573
2012-10-23 13:41 dbaz Status resolved => closed
2012-10-23 13:41 dbaz Fixed in Version => 3.0MP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker