We are using Globallink for a while and it works perfectly. Since the security release SA-CORE-2019-003 (https://www.drupal.org/node/3034490) the due date object stored in settings is no longer able to be unserialized correctly and submitting a job throws the exception

Drupal\globallink\Plugin\tmgmt\Translator\GlobalLinkTranslator::requestJobItemsTranslation(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Drupal\Core\Datetime\DrupalDateTime" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition ...

Comments

mgalalm created an issue. See original summary.

mgalalm’s picture

The attached patch is an attempt to solve this.

mgalalm’s picture

Status: Active » Needs review
iaps’s picture

A valid patch!
Thanks for reporting and the fix.

  • iaps committed 121b49f on 8.x-1.x
    Issue #3036164 by mgalalm,iaps: Access a property of an incomplete...
iaps’s picture

Version: 8.x-1.0-rc2 » 8.x-1.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.