Skip to content

fix(pivotGrid): Fix error thrown opening date pivot dimension filter. - #17481

Open
skrustev wants to merge 3 commits into
21.2.xfrom
skrastev/fix-pivot-error-21.2.x
Open

fix(pivotGrid): Fix error thrown opening date pivot dimension filter.#17481
skrustev wants to merge 3 commits into
21.2.xfrom
skrastev/fix-pivot-error-21.2.x

Conversation

@skrustev

@skrustev skrustev commented Aug 3, 2026

Copy link
Copy Markdown
Member

#17478

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Component(s) / Area(s) Affected:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

@skrustev
skrustev requested a review from MayaKirova August 3, 2026 11:11
Copilot AI review requested due to automatic review settings August 3, 2026 11:11
@skrustev skrustev added ❌ status: awaiting-test PRs awaiting manual verification grid: pivot version: 21.2.x squash-merge Merge PR with "Squash and Merge" option labels Aug 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the Pivot Grid error triggered when opening the Pivot Date Dimension Excel-style filter by adjusting how the grid reacts to i18n resource change events, and removes the temporary test-only workaround that was masking the issue.

Changes:

  • Defer setupColumns() execution on i18n onResourceChange to avoid the runtime error when the filter opens.
  • Remove the getI18nManager().removeAllListeners() test workaround and its import now that the underlying issue is addressed.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.ts Defers column regeneration on i18n resource changes to prevent the filter-opening error.
projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.spec.ts Removes the prior workaround that cleared i18n listeners in tests.

@dkamburov dkamburov added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grid: pivot squash-merge Merge PR with "Squash and Merge" option version: 21.2.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants