Closed (fixed)
Project:
Universally Unique IDentifier
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2013 at 16:15 UTC
Updated:
11 Jul 2016 at 04:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wodenx commentedPatch
Comment #2
aoturoa commentedThis is correctly handled in the standard _node_resource_create() where the 'name' and 'language' are added inside the function. Now that uuid_service module uses _node_resource_update() instead, we can also add the missing values using the standard hook_entity_presave() function:
Comment #3
skwashd commentedI agree with aoturoa's suggestion.
Comment #4
recidive commentedChanged to use
hook_entity_presave().Comment #6
skwashd commentedThanks for that patch. I've merged it. Closing
Comment #7
skwashd commentedI realised after committing the change, that this logic belongs in
node_entity_uuid_presave().Comment #8
skwashd commentedComment #9
skwashd commentedThe attached patch resolves the problem.
Comment #10
recidive commentedComment #11
skwashd commentedThanks for the review. Merging.
Comment #13
skwashd commented