-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[2.4.8] No callbacks found for cron job catalog_product_alert #39800
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
Comments
Hi @gwharton. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Reopened and updated description following further diagnosis. It wasn't opcache. |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @gwharton , Thank you for your report and collaboration. We attempted to reproduce the issue in the latest 2.4.8 instances, We are able to reproduce the issue. Please refer to the attached screenshot for details. ![]() Steps to Reproduce:
Note: This issue is not reproducable in 2.4-develop, please try from your end to reproduce this in 2.4-develop. We followed the preconditions and steps as provided and encountered the issue. Therefore, we are marking this ticket as "Issue: Confirmed." Thank you! |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14494 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
Seeing this problem as well, I think this change should be reverted: 82f6a01 I really don't see how that change was needed based on the commit message. It makes not much sense. Also, on Magento 2.4.8:
Note that the "new" I also found this old thread that tried discussing this change as "probably" not a good idea, and it looks like we were right ... |
@magento I am working on this |
- rename cron job
Hi @gwharton, Adobe Commerce Engineering team started working on this issue. We will reach out to you if we need more information and you will get notified once the issue is fixed. Please leave comments for any further questions. Thank you! |
Hi @gwharton, This issue has been resolved under the internal Jira ticket AC-14494 by the internal team. According to the ticket, the fix is targeted for release in version 2.4.9-alpha1. Thanks. |
Preconditions and environment
Steps to reproduce
Expected result
Actual result
Additional information
This is new in 2.4.8
A quick look at the code and it would appear that the cron job name has been changed to product_alert in 2.4.8 but the path to the cronjob config has not been changed to match the new job name.
magento2/app/code/Magento/ProductAlert/etc/crontab.xml
Lines 10 to 12 in 73d7bd4
Debugging the generateSchedules code shows that an extra job is added to the jobs list with incomplete contents, with the name of "catalog_product_alert" which is causing the error.
The correct "product_alert" jobs are scheduled and run correctly, so this is just an annoyance more than anything having a failed erroneously scheduled job run every day.
Release note
erroneous "catalog_product_alert" cron jobs are no longer scheduled after "product_alert" job name change.
Triage and priority
The text was updated successfully, but these errors were encountered: