Hi,
i experimanted an error in search_api, due to uuid_entity_property_info_alter().
@see http://drupal.org/node/1240250#comment-6468290

you just have to replace $info by $value in this hook, except the 2 who updates the $info function parameter passed by reference.

Comments

cutesquirrel’s picture

Here is the patch needed to fix the problem.

gilgabar’s picture

Status: Active » Reviewed & tested by the community

Experienced the same issue noted in #1240250: SearchApiException: Unknown or invalid item type redirect. in search_api_get_datasource_controller(). The patch in #1 resolved the problem.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, uuid-bad_foreach_entityproperty-1782422-1.patch, failed testing.

gmclelland’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, uuid-bad_foreach_entityproperty-1782422-1.patch, failed testing.

mattcasey’s picture

This patch didn't work at first, since I had search api installed in Panopoly the file path was wrong. You can do git patch -p1 < filename.patch to make it work. I was also getting WSOD until I flushed the cache by truncating (emptying) the cace table in PHPMyadmin.

cilestin’s picture

I can confirm that this patch also fixes the Rules module's data selector.

See http://drupal.org/node/1423234#comment-6239588

socialnicheguru’s picture

that patch doesn't apply to the dev version

zhangtaihao’s picture

Status: Needs work » Closed (duplicate)

This has been fixed since March 2012. Please check against 7.x-1.x-dev.

Marking as duplicate of #1497094: uuid_entity_property_info_alter overrides &$info.

shashi_lo’s picture

Status: Closed (duplicate) » Needs review

I replaced the variable $info with $values and it worked for me!

zhangtaihao’s picture

Status: Needs review » Closed (duplicate)

Please do not re-open a fixed issue unless something is wrong with the fix.

The development snapshot (7.x-1.x-dev) is working. If you wish to voice your need for a new release to include the fix, please chime in on #1663390: Roll a new UUID stable release.