Because page_title_uuid_entity_uuid_save() can only insert or delete page titles in the page_title table it breaks when you use entity_uuid_save() to update an entity that already has a saved page title.

I will provide a patch that uses db_merge() rather than db_insert() for saving the page title.

CommentFileSizeAuthor
#1 uuid-save-merge-1793934-1.patch1.47 KBjamesharv
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamesharv’s picture

Assigned: jamesharv » Unassigned
Status: Active » Needs review
FileSize
1.47 KB

Here's a patch which uses db_merge() as explained above.