-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Scope removeContext
and removeTag
not working for app crash
#2588
Comments
The problem is here sentry-cocoa/Sources/Sentry/SentryScope.m Lines 226 to 235 in e6fd1fb
It should be |
@philipphofmann can we fix that and cut a patch for v7? Flutter v7 with Cocoa v8 needs more time. |
Is it that important? Of course, we can, it's just extra work. |
It's a bug that affects the Hybrid SDKs + the iOS SDK, it's not a p0 but definitely, a bug, imagine that you are trying to remove some PII and you can't, then it's more severe. |
Since this looks like an edge case that we don't have any complains from customer, we gonna fix this only for v8. Unless someone has a strong opinion against it. |
If you once add any PII to the context or the tags and you remove it directly afterward, it still could end up in Sentry. Therefore, the PII argument is weaker for me. You should never add any PII to the context or tags. |
I agree with the statement that you should not add PII, but IMO that's another problem, one can add it already, so one should be able to remove it, I'm focused on the side effect of the bug and not the intention of the user. |
That's a good point, but we don't think we must do a hotfix. We definitely are going to fix this, but we think it's sufficient to do this in 8.x.x. |
This issue has not had any activity in 2 years. Is this still an issue in the latest v8.x.x releases? |
The problem still exists. The |
Platform
iOS
Installed
Swift Package Manager
Version
8.0.0-beta4
Steps to Reproduce
Same behaviour for set/remove tag.
Expected Result
Only data for
context-key
is present.Actual Result
Data for
context-key-2
is still present.The text was updated successfully, but these errors were encountered: