Skip to content

MID-11102 (4.8 backport) Fix dashboard widget showing "Unknown" for ShadowType collections#569

Open
kay1313 wants to merge 1 commit intosupport-4.8from
fix/MID-11102_backport
Open

MID-11102 (4.8 backport) Fix dashboard widget showing "Unknown" for ShadowType collections#569
kay1313 wants to merge 1 commit intosupport-4.8from
fix/MID-11102_backport

Conversation

@kay1313
Copy link
Contributor

@kay1313 kay1313 commented Mar 19, 2026

Backport to 4.8

Dashboard widgets using objectCollection with ShadowType targets returned UNKNOWN instead of the object count.

This happens because provisioning-based counting for shadows may return UNKNOWN.

The fix forces repository-style counting for shadow collections by disabling fetch on the compiled collection before calling determineCollectionStats().

Behavior for other object types remains unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant