Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying the filter of the second filtered column causes an exception #11134

Closed
onlyexeption opened this issue Mar 1, 2022 · 1 comment · Fixed by #11166
Closed

Modifying the filter of the second filtered column causes an exception #11134

onlyexeption opened this issue Mar 1, 2022 · 1 comment · Fixed by #11166
Assignees
Labels
🐛 bug Any issue that describes a bug grid: tree-grid ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@onlyexeption
Copy link
Contributor

onlyexeption commented Mar 1, 2022

Description

An exception is thrown when modifying the filter of the non-first filtered column.

  • igniteui-angular version:
  • browser: n/a

Steps to reproduce

  1. Open Formatted Values Filtering Strategy Sample
  2. Filter by any column different than Unit Price Category
  3. Open Unit Price Category and filter by any value
  4. Open Unit Price Category and filter again by another value

Result

An exception is thrown in the console.

Expected result

Column should be filtered normally.

Attachments

image

@onlyexeption onlyexeption added 🐛 bug Any issue that describes a bug grid: tree-grid labels Mar 1, 2022
@DiyanDimitrov DiyanDimitrov self-assigned this Mar 2, 2022
@DiyanDimitrov DiyanDimitrov added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Mar 2, 2022
@DiyanDimitrov DiyanDimitrov changed the title TreeGridFormattedValuesFilteringStrategy - Filtering a formatted column causes an exception Modifying the second filter causes an exception Mar 4, 2022
@DiyanDimitrov DiyanDimitrov changed the title Modifying the second filter causes an exception Modifying the filter of the second filtered column causes an exception Mar 4, 2022
@DiyanDimitrov
Copy link
Contributor

During fixing this issue I have also found another one:

  1. Filter by any column different than Unit Price Category.
  2. Open Unit Price Category and filter by any value.
  3. Modify the filter of the first column that you have filtered.

Result:
The filter of the Unit Price Category column is lost.

Expected:
The filter of the Unit Price Category column should be preserved.

@DiyanDimitrov DiyanDimitrov added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug grid: tree-grid ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants