Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: [Regression] Members list empty when there are confirmed members #21717

Closed
2 tasks done
awanlin opened this issue Dec 2, 2023 · 1 comment · Fixed by #21719
Closed
2 tasks done

🐛 Bug Report: [Regression] Members list empty when there are confirmed members #21717

awanlin opened this issue Dec 2, 2023 · 1 comment · Fixed by #21719
Labels
bug Something isn't working

Comments

@awanlin
Copy link
Collaborator

awanlin commented Dec 2, 2023

📜 Description

The members list on the Group view is empty even though we can see there are members by looking at the User view

👍 Expected behavior

The member list should be populated with the proper members

👎 Actual Behavior with Screenshots

The member list is empty for all Groups. For example "Breanna Davidson" is part of Team A - https://demo.backstage.io/catalog/default/user/breanna.davison. When you look at Team A the member list is empty- https://demo.backstage.io/catalog/default/group/team-a

👟 Reproduction steps

  1. Create a backstage instance
  2. View a Group

Notice: the member list is empty

📃 Provide the context for the Bug.

This is a regression as we previously could see the members of the group in this view

🖥️ Your Environment

OS:   Darwin 23.1.0 - darwin/arm64
node: v18.18.2
yarn: 3.5.0
cli:  0.25.0-next.1 (installed)
backstage:  1.21.0-next.2

Dependencies:
  @backstage/app-defaults                                     1.4.6-next.1
  @backstage/backend-app-api                                  0.5.8, 0.5.9-next.1
  @backstage/backend-common                                   0.19.9, 0.20.0-next.1
  @backstage/backend-defaults                                 0.2.8-next.1
  @backstage/backend-dev-utils                                0.1.2
  @backstage/backend-openapi-utils                            0.1.1-next.1
  @backstage/backend-plugin-api                               0.6.7, 0.6.8-next.1
  @backstage/backend-tasks                                    0.5.12, 0.5.13-next.1
  @backstage/catalog-client                                   1.4.6, 1.5.0-next.0
  @backstage/catalog-model                                    1.4.3
  @backstage/cli-common                                       0.1.13
  @backstage/cli-node                                         0.2.0
  @backstage/cli                                              0.25.0-next.1
  @backstage/config-loader                                    1.5.3
  @backstage/config                                           1.1.1
  @backstage/core-app-api                                     1.11.2-next.1
  @backstage/core-compat-api                                  0.0.1-next.1
  @backstage/core-components                                  0.13.9-next.1
  @backstage/core-plugin-api                                  1.8.1-next.1
  @backstage/e2e-test-utils                                   0.1.0
  @backstage/errors                                           1.2.3
  @backstage/eslint-plugin                                    0.1.4-next.0
  @backstage/frontend-plugin-api                              0.4.0-next.1
  @backstage/integration-aws-node                             0.1.8
  @backstage/integration-react                                1.1.22-next.1
  @backstage/integration                                      1.7.2, 1.8.0-next.1
  @backstage/plugin-api-docs                                  0.10.2-next.2
  @backstage/plugin-app-backend                               0.3.56-next.1
  @backstage/plugin-app-node                                  0.1.8-next.1
  @backstage/plugin-auth-backend-module-atlassian-provider    0.1.0-next.1
  @backstage/plugin-auth-backend-module-gcp-iap-provider      0.2.2-next.1
  @backstage/plugin-auth-backend-module-github-provider       0.1.5-next.1
  @backstage/plugin-auth-backend-module-gitlab-provider       0.1.5-next.1
  @backstage/plugin-auth-backend-module-google-provider       0.1.5-next.1
  @backstage/plugin-auth-backend-module-oauth2-provider       0.1.5-next.1
  @backstage/plugin-auth-backend-module-oauth2-proxy-provider 0.1.0-next.0
  @backstage/plugin-auth-backend-module-okta-provider         0.0.1-next.1
  @backstage/plugin-auth-backend                              0.20.1-next.1
  @backstage/plugin-auth-node                                 0.4.1, 0.4.2-next.1
  @backstage/plugin-badges-backend                            0.3.5-next.1
  @backstage/plugin-badges                                    0.2.52-next.1
  @backstage/plugin-catalog-backend-module-github             0.4.6-next.1
  @backstage/plugin-catalog-backend                           1.15.1-next.1
  @backstage/plugin-catalog-common                            1.0.18
  @backstage/plugin-catalog-graph                             0.3.2-next.1
  @backstage/plugin-catalog-node                              1.5.0, 1.5.1-next.1
  @backstage/plugin-catalog-react                             1.9.2-next.1
  @backstage/plugin-catalog                                   1.16.0-next.2
  @backstage/plugin-cost-insights-common                      0.1.2
  @backstage/plugin-cost-insights                             0.12.17-next.1
  @backstage/plugin-events-node                               0.2.17-next.1
  @backstage/plugin-explore-backend                           0.0.18-next.1
  @backstage/plugin-explore-common                            0.0.2
  @backstage/plugin-explore-react                             0.0.34-next.1
  @backstage/plugin-explore                                   0.4.14-next.1
  @backstage/plugin-github-actions                            0.6.9-next.1
  @backstage/plugin-graphiql                                  0.3.1-next.2
  @backstage/plugin-home-react                                0.1.6-next.1
  @backstage/plugin-home                                      0.6.0-next.1
  @backstage/plugin-org                                       0.6.18-next.1
  @backstage/plugin-permission-common                         0.7.10
  @backstage/plugin-permission-node                           0.7.18, 0.7.19-next.1
  @backstage/plugin-permission-react                          0.4.18-next.1
  @backstage/plugin-proxy-backend                             0.4.6-next.1
  @backstage/plugin-scaffolder-common                         1.4.3
  @backstage/plugin-search-backend-module-catalog             0.1.12-next.1
  @backstage/plugin-search-backend-module-explore             0.1.12-next.1
  @backstage/plugin-search-backend-module-techdocs            0.1.12-next.1
  @backstage/plugin-search-backend-node                       1.2.12-next.1
  @backstage/plugin-search-backend                            1.4.8-next.1
  @backstage/plugin-search-common                             1.2.8
  @backstage/plugin-search-react                              1.7.4-next.1
  @backstage/plugin-search                                    1.4.4-next.2
  @backstage/plugin-tech-radar                                0.6.11-next.2
  @backstage/plugin-techdocs-backend                          1.9.1-next.1
  @backstage/plugin-techdocs-node                             1.11.0-next.1
  @backstage/plugin-techdocs-react                            1.1.14-next.1
  @backstage/plugin-techdocs                                  1.9.2-next.2
  @backstage/plugin-todo-backend                              0.3.6-next.1
  @backstage/plugin-todo                                      0.2.32-next.1
  @backstage/plugin-user-settings                             0.7.14-next.2
  @backstage/release-manifests                                0.0.11
  @backstage/test-utils                                       1.4.6-next.1
  @backstage/theme                                            0.5.0-next.0
  @backstage/types                                            1.1.1
  @backstage/version-bridge                                   1.0.7

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else

@awanlin awanlin added the bug Something isn't working label Dec 2, 2023
@awanlin
Copy link
Collaborator Author

awanlin commented Dec 2, 2023

Did some digging into this as it got mentioned on Discord and seemed odd: https://discord.com/channels/687207715902193673/1179775361366626345. I've been able to confirm that it works in the current 1.20.3 release so it must be a change in one of the 1.21.0-next.x releases

From my very basic investigation if I console.log the membersList.items from this line I get and empty array:

const membersList = await catalogApi.getEntities({

Possibly related to this: #17470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant