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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020229
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-04-10 16:582012-05-25 12:09
ReporterpsarobeView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchFixed in SCM revision080a243f3f16
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava 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

0020229: Combo product selector in grid mode is not working properly

DescriptionTo see how annoying is, you must use the keyboard.

To display the combo: ALT+Arrow down
To move through the records (inside the combo): Arrow down
Steps To Reproduce1. Go to sales invoice
2. Click new and fill the mandatory fields
3. Move to Lines and click new in grid mode
4. The focus will be in product field. Click ALT+Arrow down
5. The combo will be displayed. Ale Beer will be selected (first choice). Press enter. The focus will move to Invoiced quantity field. Press enter
6. New line appears. Click ALT+Arrow down. Move down (Arrow down) and select Apple juice. Press enter. The focus will move to Invoiced quantity field. Press enter
7. New line appears. Click ALT+Arrow down. Notice that the focus is in Apple Juice and suddenly changes to the first option (Ale Beer). Move down (Arrow down) and and notice the focus is not in the first option (Ale beer) but in Apple juice.

This behaviour is wrong!!

Expected Behaviour: The focus, whenever you open the combo, must be in the first option
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0048309)
hgbot (developer)
2012-05-03 11:26

Repository: erp/devel/pi
Changeset: 080a243f3f166008dad8a4e7bc44984623078a4f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 03 11:15:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/080a243f3f166008dad8a4e7bc44984623078a4f [^]

Fixes issue 20229: Combo product selector in grid mode is not working properly

The problem was caused because the same combo is shared among all the records, and it was not being properly reset when a new row was created. Now, when a new row is created, the previous highlighted combo option is cleared and the first option is selected.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0048310)
AugustoMauch (manager)
2012-05-03 11:27

This issue was reproducible in all combo selectors, and both in grid and form view.
(0048311)
AugustoMauch (manager)
2012-05-03 11:30

-- Test plan --

Test that the combos are properly reset when a new row is created:
- Follow the steps to reproduce section.

Test that when the combo of an already existing record is opened it is propertly set.
(0048312)
AugustoMauch (manager)
2012-05-03 11:30

This fix is not risky
(0048788)
dbaz (developer)
2012-05-21 00:53

Reviewed @ changeset 16586 - 87340d8f38a3
(0048997)
hudsonbot (developer)
2012-05-25 12:09

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/5401e185a8b0 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-04-10 16:58 psarobe New Issue
2012-04-10 16:58 psarobe Assigned To => alostale
2012-04-10 16:58 psarobe Modules => Core
2012-04-26 15:18 alostale Assigned To alostale => AugustoMauch
2012-05-03 11:26 hgbot Checkin
2012-05-03 11:26 hgbot Note Added: 0048309
2012-05-03 11:26 hgbot Status new => resolved
2012-05-03 11:26 hgbot Resolution open => fixed
2012-05-03 11:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/080a243f3f166008dad8a4e7bc44984623078a4f [^]
2012-05-03 11:27 AugustoMauch Note Added: 0048310
2012-05-03 11:30 AugustoMauch Note Added: 0048311
2012-05-03 11:30 AugustoMauch Note Added: 0048312
2012-05-21 00:53 dbaz Note Added: 0048788
2012-05-21 00:53 dbaz Status resolved => closed
2012-05-21 00:53 dbaz Fixed in Version => 3.0MP12
2012-05-25 12:09 hudsonbot Checkin
2012-05-25 12:09 hudsonbot Note Added: 0048997


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker