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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050346
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-09-26 18:212022-09-26 18:30
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix 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

0050346: Filter text of some fields may be deleted after refresh depending on the position of the field in the grid

DescriptionFilter text of some fields may be deleted after refresh depending on the position of the field in the grid
Steps To Reproduce1) 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 SolutionThe 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049838 closedcaristu Relevant product characteristics property fields 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker