Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2788

Short ref group names are not accounted for during drill down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • 1.10.0
    • Plugins
    • None
    • RHDH Plugins 3288

      Description of problem:

      Catalog entities to utilize group ownership have the ability to define those groups either by using the full entity ref, `group:default/<name>`, or by using just the name as a short ref, `<name>`. At the moment, the scorecard plugin does not account for this when saving entity owners to the database.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1.  Have two entities with the same group owner that have metrics in the catalog.
        • One with the full entity ref, `group:default/<name>`
        • Another with just the name, `<name>`
      2. Attempt to query the drill down endpoint using `group:default/<name>` as an owner filter

      Actual results:

       

      Notice that the entity with just the <name> defined as an owner is missing

      Expected results:

      Both entities should appear in the results

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-pknight Patrick Knight
              rh-ee-pknight Patrick Knight
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: