Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0050346 | Openbravo ERP | A. Platform | public | 2022-09-26 18:21 | 2022-09-26 18:30 | |||||||
Reporter | caristu | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
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 | 0050346: Filter text of some fields may be deleted after refresh depending on the position of the field in the grid | |||||||||||
Description | Filter text of some fields may be deleted after refresh depending on the position of the field in the grid | |||||||||||
Steps To Reproduce | 1) Go to the Product window 2) Select a couple of values of the Product Category field to filter by them 3) Refresh the grid, the filter text of the Product Category field correctly remains 4) Clear the filter 5) Drag and drop the Product Category field at the last position of the grid 6) Filter again, selecting a couple of values from the filter drop down list 7) Refresh the grid --> ERROR: the filter text of the Product Category field is cleared | |||||||||||
Proposed Solution | The source problem seesm to be in Smartclient DynamicForm.js, in this code: if (this.shouldApplyCriterionToItem(items[ii], innerCriteria[i])) { // this.logWarn("applying advanced criterion:" + isc.Comm.serialize(innerCriteria[i]) + // "to item:" + items[ii]); var itemID = items[ii].getID(); if (assigned[itemID] == null) { assigned[itemID] = innerCriteria[i]; itemsToClear[itemID] = false; } else { Seems that when the field is placed at the latest position, another field enters first into the first if, making the content of the correct field being wrongly deleted. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-09-26 18:21 | caristu | New Issue | ||||||||||
2022-09-26 18:21 | caristu | Assigned To | => Triage Platform Base | |||||||||
2022-09-26 18:21 | caristu | Modules | => Core | |||||||||
2022-09-26 18:21 | caristu | Triggers an Emergency Pack | => No | |||||||||
2022-09-26 18:30 | caristu | Proposed Solution updated | ||||||||||
2022-09-26 18:30 | caristu | Proposed Solution updated | ||||||||||
2022-09-27 13:03 | alostale | Relationship added | related to 0049838 |
There are no notes attached to this issue. |