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

🐛 feedback: Router error with guest user #1495

Open
2 tasks done
drodil opened this issue Oct 9, 2024 · 0 comments
Open
2 tasks done

🐛 feedback: Router error with guest user #1495

drodil opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@drodil
Copy link
Contributor

drodil commented Oct 9, 2024

Plugin Name

feedback

📜 Description

The router throws an exception when using the feedback plugin with a guest user or user without an email address

👍 Expected behavior

It should not throw an error

👎 Actual Behavior with Screenshots

[0] 2024-10-09T05:29:58.426Z backstage error Unhandled rejection Cannot read properties of undefined (reading 'spec') type=unhandledRejection stack=TypeError: Cannot read properties of undefined (reading 'spec')
[0]     at <anonymous> (/node_modules/@backstage-community/plugin-feedback-backend/src/service/router.ts:152:11)
[0]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

👟 Reproduction steps

  1. Add feedback plugin
  2. Login as guest
  3. Send a feedback

📃 Provide the context for the Bug.

No response

👀 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?

None

@drodil drodil added the bug Something isn't working label Oct 9, 2024
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

No branches or pull requests

1 participant