-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Catch the AutoloadNotAllowedException also for legacy jobs #23901
Catch the AutoloadNotAllowedException also for legacy jobs #23901
Conversation
* same as #18839 for legacy jobs * avoids spamming the log with useless entries
By analyzing the blame information on this pull request, we identified @icewind1991 and @DeepDiver1975 to be potential reviewers |
@Xenopathic @nickvergessen @benediktg @LukasReschke Please review :) |
👍 |
call_user_func($argument); | ||
} | ||
} catch (AutoloadNotAllowedException $e) { | ||
// job is from a disabled app, ignore |
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.
Maybe log this?
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.
That's the idea - we don't want to log it. That's what is done today and what #18839 also removed ;)
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.
Why wouldn't you want to log this. If it happens and you get such an entry, just delete it manually and it wont show up again?
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.
So we outsource our own fault of properly unregister background jobs to the user? 😕
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.
Well silently ignoring and always looping over is at least not the right way...
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.
Then we should drop it somehow.
👍 looks good |
great catch. please backport |
stable9: #23930 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This was reported by @benediktg in owncloud/files_antivirus#98 (comment)
@karlitschek I would like to backport this to stable9, is this okay?