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.
Here's a first attempt at a patch to add UUID support.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1340984.patch | 3.91 KB | John Morahan |
#3 | fpp-uuid.patch | 4.04 KB | John Morahan |
#2 | fpp-uuid.patch | 3.73 KB | John Morahan |
fpp-uuid.patch | 3.61 KB | John Morahan | |
Comments
Comment #1
John Morahan CreditAttribution: John Morahan commentedHmm, the update doesn't seem to work properly.
Comment #2
John Morahan CreditAttribution: John Morahan commentedOr maybe it works just fine and I messed up testing it... anyway, this version is a bit cleaner.
Comment #3
John Morahan CreditAttribution: John Morahan commentedOne more thing needed for entity_uuid_save() to work...
Comment #4
John Morahan CreditAttribution: John Morahan commentedNew patch that just leaves the entity keys in there whether uuid is actually enabled or not.
Comment #5
John Morahan CreditAttribution: John Morahan commentedThis is committed.
Comment #7
jhedstromWas it intentional that this patch add an additional call to
hook_entity_presave()
? I'm seeing the double calls conflict with the title module (first call sets translated title appropriately, second call unsets). Added #2098041: Double call to hook_entity_presave conflicts with title module.Comment #8
alcroito CreditAttribution: alcroito commentedThe double hook invocation is not correct behavior, see my comment and patch in #2098041: Double call to hook_entity_presave conflicts with title module.