Active
Project:
OpenWoo
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2026 at 04:14 UTC
Updated:
30 Jan 2026 at 04:20 UTC
Jump to comment: Most recent
In the OpenWooAppLegacy publisher plugin, when a media item doesn't have a file, or no longer has a file, the cron will crash.
Error: Call to a member function getMimeType() on null in Drupal\openwoo_pu
blish\Plugin\OpenWooPublish\OpenWooAppLegacy->getAttachments() (line 266 of
/var/www/acc.delft.nl/releases/20260130032305-acc-4037525/htdocs/modules/c
ontrib/openwoo/modules/openwoo_publish/src/Plugin/OpenWooPublish/OpenWooApp
Legacy.php).
Delete the file belonging to the media item
Update the publication
run cron
Add an extra check to see if the file is not null
Added the solution to a MR.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
johan_vm commented