Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In dev version downloaded today from cgit:
When saving and publishing content (of a type with Title, date, Body)
Notice: Undefined property: Drupal\Core\TypedData\Plugin\DataType\StringData::$target_id in Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate() (line 74 of core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php).
Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate(Object, Object)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateConstraints(Object, '000000006a2d1f570000000176098b51', Array)
Comments
Comment #2
iainH CreditAttribution: iainH as a volunteer commentedShould add:
Comment #3
mbayntonAlso just got bit by this. My wife lost a half hour working on a newsletter before she first went to save it. The upgrade to core 8.0.0 broke it, formerly running RC1.
Editing title as this is mostly a data-losing fatal error, not a notice.
Comment #4
BerdirMake sure that you update to the latest dev version, this is a last-minute change in Drupal core before 8.0.0. I'll do a new release soon.
Comment #5
BerdirSorry, I noticed that I actually hadn't push that fix yet.
I've done that now and also released alpha2: https://www.drupal.org/node/2621148
Comment #6
mbayntonYay, fixed already! Thank you, @berdir!