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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047617
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2021-09-01 17:492022-04-29 13:50
Reportersalvador_campanellaView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in VersionPR22Q3
StatusclosedFix 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

0047617: Some language filters do not work properly

DescriptionSome language filters do not work properly. It is possible to use those filters by entering data in the filter input, but selecting an option from the filter dropdown does not work.

A language selectors works properly in a tab (i.e. header tab of Module window), but not in others (for instance header tab of User window)
Steps To Reproduce- Go to user windows
- Try to filter by any language option
Result: No results

Try to filter with the 3 first characters of the language
Result the records appear

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047760 newTriage Platform Base Customer cannot find record using search in SO/SI 

-  Notes
(0133429)
AugustoMauch (manager)
2021-12-01 13:58

Working language selector: https://livebuilds.openbravo.com/erp_pi_pgsql/?tabId=102&recordId=106 [^]
Non-working language selector: https://livebuilds.openbravo.com/erp_pi_pgsql/?tabId=102&recordId=800106 [^]
(0134136)
hgbot (developer)
2022-01-05 14:20

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/493 [^]
(0136870)
hgbot (developer)
2022-04-29 13:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: bf7054d12ed753105c5315b05e049f224bb417be
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 29-04-2022 11:49:59
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/bf7054d12ed753105c5315b05e049f224bb417be [^]

Fixes ISSUE-47617: Some language filters do not work properly

The problem was that in the datasource request to obtain the unique entries to populate the filter dropdown, the key property of that selector
was not being included in the _selectedProperties parameter.

In that request, _selectedProperties contained the properties of the grid the selector
belong to, but not the relevant properties of the referenced entity. For instance, in the request to populate the combo of the language selector
of User, the grid properties of User were included in _selectedProperties, but not "language" which is the key property of the referenced entity.

This is why in some windows worked, for instance the language combo in the Module window was properly populated because that window also contained
a "language" property, so by luck it had the same name as the key property of Language.

To fix this, we now ensure that they key property of the referenced entity is included in the _selectedProperties parameter. I prefer not to remove
the unrelated properties from _selectedProperties to be conservative and lower the regression risk.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
(0136871)
hgbot (developer)
2022-04-29 13:50

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/493 [^]

- Issue History
Date Modified Username Field Change
2021-09-01 17:49 salvador_campanella New Issue
2021-09-01 17:49 salvador_campanella Assigned To => platform
2021-09-01 17:49 salvador_campanella Modules => Core
2021-09-01 17:49 salvador_campanella Triggers an Emergency Pack => No
2021-10-06 07:07 alostale Relationship added related to 0047760
2021-12-01 13:58 AugustoMauch Note Added: 0133429
2022-01-05 14:01 AugustoMauch Status new => scheduled
2022-01-05 14:01 AugustoMauch Assigned To platform => AugustoMauch
2022-01-05 14:10 AugustoMauch Summary The filter for default language cannot filter when the value have parenthesis => Some language filters do not work properly
2022-01-05 14:10 AugustoMauch Description Updated View Revisions
2022-01-05 14:11 AugustoMauch Description Updated View Revisions
2022-01-05 14:20 hgbot Note Added: 0134136
2022-04-29 13:50 hgbot Resolution open => fixed
2022-04-29 13:50 hgbot Status scheduled => closed
2022-04-29 13:50 hgbot Fixed in Version => PR22Q3
2022-04-29 13:50 hgbot Note Added: 0136870
2022-04-29 13:50 hgbot Note Added: 0136871


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker