-
Notifications
You must be signed in to change notification settings - Fork 68
[stable31] fix: catch NotFoundException when user is resharer #2217
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
Conversation
Since the file source path and user path for resharing users doesn't match, catch the exception and don't generate a notification. Signed-off-by: Anna Larch <[email protected]>
Activity
|
||||||||||||||||||||||||||||
| Project |
Activity
|
| Branch Review |
fix/2148/catch-path-exception
|
| Run status |
|
| Run duration | 02m 14s |
| Commit |
|
| Committer | Anna |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
10
|
| View all changes introduced in this branch ↗︎ | |
nickvergessen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would a test be possible? 🙊
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, it's still feels weirf that we cannot compute the path properly. The end user should still get the notification, no ?
We don't notify for 32+ either, it just fails more gracefully. I guess we could add a check on the file owner and send them a notification instead, but then we'll have to backport from master. |
db41827 to
521d549
Compare
Signed-off-by: Anna Larch <[email protected]>
521d549 to
ff88d8c
Compare
Since the file source path and user path for resharing users doesn't match, catch the exception and don't generate a notification instead.
Issue might be from #2103, but the exception is also not bubbling up for 32+, so something else must have changed as well.
Fixes #2148