-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Issue Summary
The "Component list" tab for a scorecard sometimes displays "Scorecard isn't applied to any components" even when that is not true. After playing around with it, my conclusion is that the GraphQL query is fetching both published and unpublished components in its results, but the UI is only showing the published ones on the page. If the first page fetched is 100% unpublished components, the UI will display the "Scorecard isn't applied to any components" message. If you keep hitting the "Load more" button, that will continue until you get to a page with at least one published component. If you continue through all the pages, you'll eventually end up with all the published components for the scorecard shown on the page. So the requested fix is to have the GraphQL query only fetch published components (i.e., do the filtering on the server side).
Steps to Reproduce
- Have a number of un-published components in your Compass site
- Navigate to the 'Component list' tab
Expected Results
Only published components should show, and if there are published components, all of them should show
Actual Results
At times, this list sometimes displays "Scorecard isn't applied to any components" even when that is not true.
Workaround
If you continue through all the pages, you'll eventually end up with all the published components for the scorecard shown on the page.
- is resolved by
-
COMPASS-27192 Loading...