-
Notifications
You must be signed in to change notification settings - Fork 68
fix(FilesHooks): Catch all exceptions when looking up unrelated users #2052
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
This will catch "Undefined array key" exceptions from above `$cachedPath[$userId]`. Fix: nextcloud/groupfolders#3680 Signed-off-by: Louis Chemineau <[email protected]>
|
/backport to stable31 |
|
/backport to stable30 |
|
/backport to stable29 |
Activity
|
||||||||||||||||||||||||||||
| Project |
Activity
|
| Branch Review |
artonge/fix/fileshook_try_catch
|
| Run status |
|
| Run duration | 02m 17s |
| Commit |
|
| Committer | Louis |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
10
|
| View all changes introduced in this branch ↗︎ | |
|
/backport! to stable28 |
|
should we log something ? |
Not sure, as at that point, we do not know why the user was is not in Best would have been to add an Considering that I don't know enough to change the code further, and that the initial intention of the code was probably to catch all exceptions, I would stick with the current solution. |
This will catch "Undefined array key" exceptions from above
$cachedPath[$userId].Fix: nextcloud/groupfolders#3680