Needs review
Project:
UUID Features Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Jun 2011 at 21:58 UTC
Updated:
23 Dec 2011 at 12:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
benedictsteele commentedI've created a patch that only adds the components if those modules exist.
Comment #2
robloachYup! Except you have some tab characters in there, so I fixed that :-) .
Comment #3
robloachThanks! http://drupalcode.org/project/uuid_features.git/commit/97ce08a
Comment #5
Prasad Shir commentedIt seems that this patch is no longer needed & possibly needs to be reversed if we are using UUID 7.x-1.0-alpha2.
UUID alpha 2 release does not contain sub-modules for UIUD Nodes & UUID Taxonomy, instead UUID now takes generic entity approach.
Comment #6
imiksuTagging.
Comment #7
recidive commentedApplying the following patch reversed seem to make the module work again:
http://drupalcode.org/project/uuid_features.git/patch/97ce08a
patch -p1 -R < patch.patch
Comment #8
wulff commentedI have attached a patch for those of you using drush make.
Removing the calls to module_exists() seems to do the trick.
Comment #9
wroxbox commentedAfter applying the patch #8 (in the dev branch of the module) I can see those component options in feature creation, but clicking any of content_uuid: I get AJAX message (500) saying:
PHP Fatal error: Call to undefined function uuid_node_find() in uuid_features/includes/uuid_node.features.inc on line 40
referer: http://localhost/admin/structure/features/create
Comment #10
drupalninja99 commentedSame error
Comment #11
drupalninja99 commentedApplied #5 from here: http://drupal.org/node/1267532
Comment #12
robloachLooks like this still needs some fixings. Hmmm.
Comment #13
bradjones1The patch mentioned in #11 was a separate issue and was committed at http://drupal.org/node/1267532#comment-5358816, but doesn't address the problem presented here. The patch in #8 got the components appearing for me in the build feature tool.
I'm marking this RTBC and upping the priority as right now it appears this module isn't usable as advertised without the patch. Thoughts?
Comment #14
duaelfrJust removing calls to module_exists is not sufficient because UUID has been deeply refactored.
Some used functions like uuid_taxonomy_term_find just disappeared so we have to provide a better patch.
As this module is not usable at all with the recommended release of UUID we can consider this bug Critical.
I will provide a new patch very soon.
Comment #15
duaelfrHere is a complete patch including #8 (thanks)
Comment #16
duaelfrThis cancels and replaces the previous patch.
I missplaced the uuid_taxonomy_term_find function.
Please review.