Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047617 | Openbravo ERP | B. User interface | public | 2021-09-01 17:49 | 2022-04-29 13:50 |
|
Reporter | salvador_campanella | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR22Q3 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0047617: Some language filters do not work properly |
Description | Some 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
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0047760 | | new | Triage Platform Base | Customer cannot find record using search in SO/SI |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=23486#r23486 |
2022-01-05 14:11 | AugustoMauch | Description Updated | bug_revision_view_page.php?rev_id=23487#r23487 |
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 | |
Notes |
|
|
|
|
(0134136)
|
hgbot
|
2022-01-05 14:20
|
|
|
|
(0136870)
|
hgbot
|
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
|
2022-04-29 13:50
|
|
|