Closed msiemens closed 4 years ago
Well, seems like the default entries in akeneo_batch_job_instance
have been deleted by accident. Restoring them from a backup made everything work fine again. Still it might be better to print a proper error message and not fail with an Internal Server Error 🙂
Hi!
I closed this issue, feel free to reopen it if needed.
Regards,
As I already commented, I think it would be nice to display a better error message if the default entries in the akeneo_batch_job_instance
have been deleted. Could you pass on this request to the dev team?
This job can't be deleted through UI so only manual delete in the database or custom code can delete this job instance. Adding validation, in this case, is not necessary for the vanilla PIM in my opinion.
I'm reporting a Bug
System info: akeneo-pim-system-info_2019-11-15_09_39 (1).txt
When updating products via the API, I got an Internal Server Error and the following log entry:
From what I can see it seems like ComputeProductModelDescendantsSubscriber job fails to get the job instance and passes
null
to the job launcher:https://github.com/akeneo/pim-community-dev/blob/af42d585410686eca3259c1fa88d02092d4b4b85/src/Akeneo/Pim/Enrichment/Bundle/EventSubscriber/ComputeProductModelDescendantsSubscriber.php#L84-L87