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.
By creating or updating entity with Services, translations data is not saved correctly. Actually, it is not saved at all.
Although there is function entity_translation_entity_uuid_presave() that cast the translations array back into an object, it is happening too late, because there is already function entity_translation_field_attach_presave().
For now I created patch that implements the same on both functions, but I am not sure whether we need entity_translation_entity_uuid_presave() at all.
Comment | File | Size | Author |
---|---|---|---|
#1 | entity_services-2485525.patch | 876 bytes | rudins |
Comments
Comment #1
rudins CreditAttribution: rudins commented