farmOS 4.0.1 has been released

farmOS 4.0.1 has been released.

For the full release notes, see CHANGELOG.md.

Did this introduce a change to break Asset Termination Logs? I see this now when I try to start 4.0.1:

The website encountered an unexpected error. Try again later.
Error: Undefined constant Drupal\log\Event\LogEvent::PRESAVE in Drupal\farm_asset_termination\EventSubscriber\LogEventSubscriber::getSubscribedEvents() (line 35 of sites/all/modules/farmos/farm_asset_termination/src/EventSubscriber/LogEventSubscriber.php).
Drupal\farm_asset_termination\EventSubscriber\LogEventSubscriber::getSubscribedEvents() (Line: 234)
Symfony\Component\EventDispatcher\DependencyInjection\ExtractingEventDispatcher::getSubscribedEvents() (Line: 162)
Symfony\Component\EventDispatcher\EventDispatcher->addSubscriber() (Line: 157)
Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (Line: 29)
Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass->process() (Line: 73)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() (Line: 820)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1532)
Drupal\Core\DrupalKernel->compileContainer() (Line: 1032)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 524)
Drupal\Core\DrupalKernel->boot() (Line: 743)
Drupal\Core\DrupalKernel->handle() (Line: 19)

If I go back to 4.0.0, the site loads without the error.

Thanks for all the work!
Troy

2 Likes

Oops I think you’re right @tlcarpenter69… this might require a 4.0.2 release to fix… I’ll take a look…

Actually, I’m going to open a merge request to fix this in the Asset Termination module…

2 Likes

Where would I see the merge request so I can track when there’s a new version of the plugin?

I think it will be at Merge requests · project / farm_asset_termination · GitLab (once it’s created)

Ok. That’s where I’ve been watching.

https://www.drupal.org/project/farm_asset_termination/issues/3585522

Fix released in farm_asset_termination v2.1.1.

2 Likes

Thank you for the quick review @wotnak!!