Closed (fixed)
Project:
Flag
Version:
6.x-2.0-beta1
Component:
Actions integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2009 at 08:47 UTC
Updated:
12 Dec 2009 at 17:02 UTC
Flag 6.x-2.0-beta1 is not compatible with Activity 6.x-1.2
When activity_install_activity_defaults($module='flagactivity') (in activity/activity.module) by flagactiivty_install(),
it does not return a 'types' array, so the following line fails because it's NULL:
Line: 1053: variable_set($module .'_token_types', array_keys($info['types']));
where $info =
#
info (Array, 3 elements)
*
ops (Array, 2 elements)
o
flag (String, 4 characters ) Flag | (Callback) Flag();
o
unflag (String, 6 characters ) Unflag
*
types (NULL)
*
roles (Array, 2 elements)
o
author (Array, 3 elements)
+
#name (String, 6 characters ) Author
+
#description (String, 32 characters ) The person who flagged the node.
+
#default (String, 57 characters ) [author] [operation]ged the [content-type] [con...
#
[author] [operation]ged the [content-type] [content-link]
o
all (Array, 3 elements)
+
#name (String, 3 characters ) All
+
#description (String, 19 characters ) The general public.
+
#default (String, 61 characters ) [author-all] [operation]ged the [content-type] ...
#
[author-all] [operation]ged the [content-type] [content-link]
Comments
Comment #1
fizk commentedOpps...I installed Activity 1.2................ I'll leave this up here for reference.
Comment #2
quicksketchThanks, as noted on the project page, our integration is for Activity 2 (only).