Closed martyfuhry closed 5 months ago
Solved this. The issue was that SentryUserFeedback
has required
set for the event ID, but nullable fields for name, email, and comments. If any of those fields are null, though, the User Feedback object will never be created. The fix is to make sure those fields are not null when creating the object.
I would suggest making those fields required and removing the assert
statement in that constructor.
Platform
Dart
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Version
8.2.0
Steps to Reproduce
SentryUserFeedback
object with that event ID.captureUserFeedback
Expected Result
User feedback shows up in the User Feedback list and the Sentry event has a corresponding User Feedback.
Actual Result
No User Feedback.
None on the issue either
Are you willing to submit a PR?
Yes