Uploaded image for project: 'Compass'
  1. Compass
  2. COMPASS-130

The "Component list" tab for a scorecard sometimes displays "Scorecard isn't applied to any components" even when that is not true.

XMLWordPrintable

      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

      1. Have a number of un-published components in your Compass site
      2. 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. 

              f18611a1aa95 Kevin L
              jsitarz@atlassian.com Justin Sitarz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: