Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0050346 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2022-09-26 18:21 | 2022-09-26 18:30 | |||||||
Reporter | caristu | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |
Copyright © 2000 - 2009 MantisBT Group |