Closed (fixed)
Project:
Universally Unique IDentifier
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 10:07 UTC
Updated:
15 Jun 2012 at 09:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
mcjim commentedPatch attached.
Comment #2
dave reidWe're fixing the wrong problem here. The actual problem is that the uuid_schema_field_definition() function is defined in uuid.module. When a module's hook_install is run, it *cannot* assume that the .module file is loaded yet and must manually use drupal_load() to make the .module's files available.
Comment #3
dave reidSince the schema helper function is called from the .install file only, I think we need to move the uuid_schema_field_definition() function to uuid.install instead.
Comment #4
mcjim commentedYes, this makes total sense and is the better solution.
Thanks for your input.
Comment #5
dixon_I was thinking the function should be provided as a generic helper function. But what Dave is saying makes a lot of sense.
Committed. Thanks!
Comment #6.0
(not verified) commentedCorrected typos.