Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Link is pointing to admin/rules/trigger, which takes you to the root admin page. Should instead be admin/config/workflow/rules.
Comment | File | Size | Author |
---|---|---|---|
#110 | flag_rules_fix.patch | 369 bytes | fago |
#109 | flag_rules_fix.patch | 564 bytes | fago |
#93 | flag_rules.patch | 32.99 KB | fago |
#80 | flag-with-rules-patch-110708.zip | 90.92 KB | Itangalo |
#73 | flag_rules_1.patch | 31.42 KB | jackbravo |
Comments
Comment #1
webchickPatch.
Comment #2
mooffie CreditAttribution: mooffie commentedHave anybody verified that our Rules integration works with D7's Rules? No point in fixing the link unless it does.
Comment #3
webchickGood point. ;) No!
Comment #4
amitaibuRules2 has changed considerably in D7, I'm not very up to date with it, but I doubt it will "simply" work.
Comment #5
notluap CreditAttribution: notluap commentedI am running latest release of D7, Flag, and Rules and also have this problem. Rules integration broken, no option to choose "after node/comment has been flagged" for triggering a rule.
Comment #6
fagoThe overview of changes can be found here: http://drupal.org/node/906482
Attached is a first start on porting the integration, it's note complete yet (nor tested). Rules 2.x currently misses proper support for identifiable data types being non-entities. I'll work on fixing that.
Comment #7
lathanafter this functionality, shout if you need any testing I can at least lend a hand there.
Comment #8
JohnnyX CreditAttribution: JohnnyX commentedSubscribe...
Comment #9
mooffie CreditAttribution: mooffie commentedReclassifying as "task". It's not really a bug.
Comment #10
mooffie CreditAttribution: mooffie commented@fago:
- Will old saved rules continue to work?
- If you think #405316: Rules: Use flag as a 'regular' argument has merit, feel free to tackle it here, if you want to.
Comment #11
tcmug CreditAttribution: tcmug commentedSubscribing, critical stuff for my project :)
Comment #12
fago>- Will old saved rules continue to work?
Will have provide some simple settings-converters for that if necessary. However the upgrade path is one of the missing parts that keeps rules 2 from going into beta phase.
>- If you think #405316: Rules: Use flag as a 'regular' argument has merit, feel free to tackle it here, if you want to.
Yep, that's the only way to do it in Rules2. However, we won't need the loading action as users can just switch the parameter configuration mode. So we need to provide the input form + specify flags as parameter.
Comment #13
JohnnyX CreditAttribution: JohnnyX commentedI try to use flag with rules for notifications. It should work with Drupal 6 but I would use Drupal 7. So I have to wait and look at this issue ;) I hope it will work together in the near future :) Thanks
Comment #14
Itangalo CreditAttribution: Itangalo commentedsubscribing
Comment #15
snupy CreditAttribution: snupy commentedSubscribing.
Comment #16
kn8 CreditAttribution: kn8 commentedsubscribing
Comment #17
snupy CreditAttribution: snupy commentedWhen it happens? There are any news on this question?
Comment #18
JohnnyX CreditAttribution: JohnnyX commentedI'm waiting for rules integration. I won't press somebody to give us a date but I very interested to know if the integration progress goes on?
Comment #19
Itangalo CreditAttribution: Itangalo commented@JohnnyX: The Rules module has changed quite much between D6 and D7, so there's a risk that porting the Rules integration will take some time.
It is possible that the work has begun already, but if you want to be sure you could send a message to one of the maintainers (or look in the code of the dev version). If you contact a maintainer, I bet that they would be happy if you volonteered to start the work. :-)
Cheers,
Comment #20
fagoI've just added support for identifiable, savable non-entity data types in Rules. While I think modules should better implement the entity API instead, I see that this requires a bit more than just having load() + extractId() as core also defines presave(), save(), .. hooks one should invoke then too. Given that, it's probably a good thing to be able to work with such non-entity data-types in Rules too, nevertheless.
Anyway, based on that improvements I've ported the flag integration. In my basic tests everything worked fine.
I converted the form to make use of the new tableselect form element + moved the include file in the root directory, as unfortunately the d7 hook_hook_info() 'group' feature doesn't support lazy-loading includes from an 'include' folder.
Patch attached. Requires the latest Rules version.
Comment #21
fago-> I've just tagged Rules-2.0-ALPHA-5, which you can use to test this.
Comment #22
Itangalo CreditAttribution: Itangalo commentedAwesome. Looking forward to testing.
Thanks for your work.
Comment #23
fagoany testers? :)
Comment #24
JohnnyX CreditAttribution: JohnnyX commentedFlags are available but I haven't work with rules before. So a have no working example...
I would use it for notification emails (updates or new comments for flagged content) but have problems to create the rules/ filters.
Comment #25
Shadlington CreditAttribution: Shadlington commentedSubscribing... I will have a stab at testing this sometime soon, hopefully.
Comment #26
Itangalo CreditAttribution: Itangalo commentedWow! Not only does it work – there's a whole lot of new fun stuff added! (I especially like the "node is flagged" condition.) Respect @fago.
I have not tested all the triggers, conditions and actions yet, but everything I've tried works great. Count on me starting to use this.
I guess there should be more testers before this is RTBC, but you could also argue that adding this patch right now would make Flag and Rules together much better than it does currently – even if there are bugs left.
Great work!
//Johan Falk
PS: For anyone else who wants to apply the patch, run it against Flag beta5 and not dev and you'll have an easier time. You'll probably get two warnings, but these concern changes that are already made to the Flag module – no need to panick.
Comment #27
JohnnyX CreditAttribution: JohnnyX commentedWill or already is the patch commited to flag module?
Comment #28
Itangalo CreditAttribution: Itangalo commented@JohnnyX: It seems parts of the patch is included in the Flag module, but the most is not.
Comment #29
mooffie CreditAttribution: mooffie commentedI won't be touching Flag (and probably Drupal) in the foreseeable future. Sorry. I notified Nate of this two weeks ago. Somebody should step into the co-maintainer (or maintainer?) role.
Comment #30
Shadlington CreditAttribution: Shadlington commentedq0rban, maybe? He's been submitting quite a few D7 flag patches lately that it'd be nice to have committed...
Comment #31
mooffie CreditAttribution: mooffie commentedI've noticed only one patch. Perhaps I'm mistaken. But this ought to be handled by Nate (the maintainer), not me. Anybody: feel free to suggest yourself and/or prod others to action (and remember that you can email Nate privately).
Comment #32
Shadlington CreditAttribution: Shadlington commentedUh. Weird. I think I imagined it. Maybe I was looking at the same patch over and over >_>
Comment #33
fagoI re-rolled the patch to apply again. Due to the Git migration CVS $Id$ got stripped, what let the patch fail.
Perhaps we should just get it in and fix any possible issues with it in follow-ups?
Comment #34
Shadlington CreditAttribution: Shadlington commentedTested the patch a little.
Seems to work very well indeed!
I've not tested this a great deal but it certainly seems stable enough and I'd be inclined to agree with #33 that any issues that do exist could be dealt with later.
Comment #35
FiNeX CreditAttribution: FiNeX commentedI've done some quick tests (created some flags and some basic rules) and the patch seems working :-)
Comment #36
jpstrikesback CreditAttribution: jpstrikesback commentedsub scribe
Comment #37
arbel CreditAttribution: arbel commentedHello,
I've done some tests on the patch in #20, and everything works great, except for anonymous users.
I have a flag (not global) on a node that marks it as "viewed"
and I was trying to create a rule to check if the node is already flag before flagging it. In the condition under the "USER ON WHOSE BEHALF TO CHECK" I inserted site:current-user, this works great for logged in users, but when the condition is run with an anonymous user I get an error.
The error in my case is in this function:
function flag_rules_condition_flagged($flag, $entity, $account) {
return $flag->is_flagged($flag->get_content_id($entity), $account->uid);
}
because $account is empty.
in my scenario I realized I could remove the rule and still have everything work like I want it (flaggs a node again even if it's flaged).
But there is a problem here.
Should site:current-user provide the anonymous session info? or should there be a different rule with a different selector and then we would add a condition to check if the user is logged in first.
Thanks
Idan
Comment #38
arbel CreditAttribution: arbel commentedHello,
I've begun to get this error:
here's how I have it set up.
1. flag called "viewed" per user (not global).
2. a rule with the event " node is being viewed" and an action "flag node" - under flag I chose "viewed". node: node . user on behalf to flag - site:current-user. Permission check is unchecked.
could this be related to the fact that i'm flagging a node each time it is being viewed even if it is already flagged?
another question, site:current-user seems to work when flagging - so why doesn't it work when checking if the node is flagged?
Idan
Comment #39
jide CreditAttribution: jide commentedsubscribing
Comment #40
jide CreditAttribution: jide commentedNice to see an exemple of how to implement RulesDataUI btw.
Comment #41
jide CreditAttribution: jide commentedIf we combine a 'A [node] has been flagged, under "@flag-title"' event with other events providing a "node" variable, this will be a problem, since provided variables are not the same ("node" and "flagged_node". Why not use the entity name directly to avoid this kind of situation ?
Comment #42
JohnnyX CreditAttribution: JohnnyX commentedAny chance to release a new dev/ beta version of flag includes the last patch?
No flag maintainer available?
Comment #43
tbeauchemin CreditAttribution: tbeauchemin commentedsubscribing
Comment #44
Stalski CreditAttribution: Stalski commentedsubscribing
Comment #45
dcm1963 CreditAttribution: dcm1963 commentedsubscribing
Comment #46
jsenich CreditAttribution: jsenich commentedsubscribing
Comment #47
fagoad #41: Indeed, however this would require more work on the upgrade-path later on, as it would have to care about the changed variable name compared to drupal 6.
Comment #48
jide CreditAttribution: jide commented@fago: Ah, makes sense, did not think about that. However, this feels like a big limitation to me, it narrows the use of the rules flag integration. If we agree about that, we definitely should have an upgrade path instead.
Comment #49
geerlingguy CreditAttribution: geerlingguy commentedSubscribe. I'd like to test the patch in #33, but is there any other effort that can be put into getting this into a -dev release (or stable?). This is the one and only issue that's holding back my use of D7 for a couple projects.
(Update: Patch in #33 working great for me. No problems to report.).
Comment #50
Shadlington CreditAttribution: Shadlington commentedThe problem is a lack of maintainers (with time) at the moment.
mooffie is gone now and quicksketch is too busy.
Comment #51
quicksketchIn addition to that, I'm also rather opposed to Rules module to begin with, but that's due to my developer-nature I believe. I'd honestly like Rules support removed and maintained separately from Flag module.
Comment #52
geerlingguy CreditAttribution: geerlingguy commentedI would be completely behind the idea of a separate "Flag Rules" module, if that's a way to finish off this issue and resolve any problems here. I love the Rules module for quick site feature builds... I don't use it for everything, but it's often easy to build an entire workflow on a Drupal site using Flag + Rules.
Comment #53
Shadlington CreditAttribution: Shadlington commentedI'm not really bothered where the functionality ends up, so long as we have it.
So... Any takers?
Comment #54
Itangalo CreditAttribution: Itangalo commentedI tested the patch in #33 to some length yesterday, and it worked well for almost all cases. However, if I try to use Rules to set a flag, I get an error message:
This error was given when trying to flag a newly created node, on behalf of the node author – but my guess is that it would be the same for other events and flag types.
@quicksketch: I don't agree with you about the Rules module. But I guess that's due to my site-builder and configuration nature.
Comment #55
quicksketchHey @Itangalo: Yeah I know Rules is very popular and a lot of people don't build a site without it. Unfortunately I'm not someone that ever uses it, making it so that trying to get me to review Rules patches is always a painful experience. Mooffie a big supporter also and I really respect his opinion on such things, which is how Rules integration got in to begin with. Unfortunately Mooffie has bowed out of Drupal development for an indeterminate amount of time, so there aren't any maintainers left to review these patches, hence why I think it would be best served by someone that uses both Flag and Rules in a dedicated project.
Comment #56
Itangalo CreditAttribution: Itangalo commented@quicksketch: Thanks for the explanation – I understand and respect it.
(I do, however, think that you're really missing something: check out how to set node access with Flag + Rules + Content Access if you feel like arguing about this.)
If the problem is reviewing patches, I hope I can find someone to help (eventhough I can't review myself).
Comment #57
Shadlington CreditAttribution: Shadlington commentedItangalo is right that there are significant benefits to using rules.
I use it all the time - and I've used it a number of times with flag in D6, to great effect.
But as I said in #53 it doesn't really matter that much if its in a separate module.
Plus, I would be curious if quicksketch (or a future co-maintainer) would consider merging a separate flag rules module back into flag as a sub-module later on.
I have no real preference for either option, other than for whichever one will get flag rules integration into a proper release (whether it be a release of flag or a release of a separate module) first.
Comment #58
Itangalo CreditAttribution: Itangalo commentedI did some more testing of the patch today, and it seems that the Rules condition "Comment has flagging count" freaks out. I get an error message like this when setting a flag triggering this condition:
The error is only triggered when the flag count is above the set limit in Rules, and it doesn't seem to depend on what kind of action will be performed. (Also, the action isn't performed – indicating that the condition isn't returning TRUE.)
Sorry for bad news.
Comment #59
fago@55: I see and fully understand your reasoning. However, I'd prefer having the Rules integration directly in the flag module, because:
* The Rules integration is not much more than the flag.rules.inc file, which gets automatically included whenever its needed by Rules. So the rest of the module or users don't using Rules would not suffer from it.
* Having a separate module for each Rules integration is overkill and unnecessarily scatters the module page.
* Also, having this directly in the module, makes this *great* functionality much more visible to users. Also from a UX point of view "just go and use it", instead of "install yet another module" is superior.
Thus, I'd love to keep it here. As I'm going to use it anyway, I'd volunteer for maintaining the Rules integration directly in flag.
ad #58: Yep, we need to fix that and also go for #41. Then, this needs some tests. But let's figure out where it goes first.
Comment #60
Itangalo CreditAttribution: Itangalo commentedProbably no surprise to anyone, but I agree with fago's reasoning in #59. The strongest argument is, I think, his third.
Having the Rules integration directly in the Flag module is as natural as having its Views integration – nobody would like to install a separate module for that. The only option, I think, is having the integration in the Rules module instead.
Since I consider both Rules and Flag essential modules, it is difficult for me to say "who should provide support for who". If looking at usage statistics though, Rules is more than twice the size of Flag – which suggests that Flag should be the module hosting the Rules integration (and not the other way around). If there are personal preferences for another solution I don't mind at all, as long as the integration doesn't require any extra modules.
By the way: Flag is an awesome module, too. Thanks for all the work you (quicksketch) put into it.
Comment #61
tbeauchemin CreditAttribution: tbeauchemin commentedSubscribe
Comment #62
parisekSubscribe, please port. Great module, but without Rules integration is useless for me :(
Comment #63
betoscopiosubscribe
Comment #64
JohnnyX CreditAttribution: JohnnyX commentedI hope rules integration would be ported. Flag is a great module but without rules integration it loose much of it's power and options...
Comment #65
dagomar CreditAttribution: dagomar commentedThis looks very useful, subscribing.
Comment #66
EndEd CreditAttribution: EndEd commentedSubscribe
Comment #67
entrigan CreditAttribution: entrigan commentedI tried testing this, but upon applying the patch I get "fatal: git diff header lacks filename information when removing 1 leading pathname components (line 5)"
Comment #68
moss.dev CreditAttribution: moss.dev commentedSubscribe - this is a must to upgrade any of my sites to D7. Please let us know if any help is required.
Also can anyone say if the Flag 6.x-2.x-dev suffers from the same issue? I know this is not the place but there is no discussion anywhere else. Thank you.
UPDATE: Flag 6.x-2.x-dev still works well with rules.
Comment #69
JohnnyX CreditAttribution: JohnnyX commentedI use patched flag module and I create a test rule.
The rule set a value to a field is content is flagged or unflagged. Text example works fine!
Is it possible to do some more tests and commit the patch (I patched it some time ago and have to searching for the patch file at my local pc...) or create an additional module with the functionality?
Comment #70
BenK CreditAttribution: BenK commentedSubscribing
Comment #71
JohnnyX CreditAttribution: JohnnyX commentedI think it should be the last patch from fago...
Comment #72
Itangalo CreditAttribution: Itangalo commentedJust bumping a bit…
@fago: Have you had any chance to reiview the bug reports in #54 and #58?
(Sorry I haven't tried to solve them myself.)
Comment #73
jackbravo CreditAttribution: jackbravo commentedI re-rolled the patch against current master branch on git, since it wasn't applying properly on my end.
Comment #74
Sylense CreditAttribution: Sylense commentedI've implemented the port and it works fine except for I'm having trouble with the tokens. I am trying to send a system mail message once content is flagged. For some reason the tokens for any cck text fields are returning blank values within the email. Any reason why that could be happening? It will send other flagging user information such as email address, url, and even a date widget but not text input.
Comment #75
sslider999 CreditAttribution: sslider999 commentedsub
Comment #76
marcoscanosubscribe
Comment #77
mstrelan CreditAttribution: mstrelan commentedsubscribe
Comment #78
skov CreditAttribution: skov commented+1 for rules integration within flag module. A separate module for flag/rules integration seems overkill.
Use case: Using drupal commerce to create an order where users can flag nodes. Within the order are node reference fields and a "maximum" number of nodes that can be flagged (varies by order, thus node reference has unlimited number of fields). When user flags node, rules checks the order flag limit and allows/disallows the node to be flagged.
I have a developer background, but believe "if you don't need to create a custom module, you shouldn't" This allows future site maintainers that may not be developers to instigate changes.
Applied patch in #33 successfully.
Comment #79
tbeauchemin CreditAttribution: tbeauchemin commentedI there, I'm sorry, I'm really struggling to apply the patch at #33 or #73 [I always get some error: can't find file to patch at input line 5].
Could someone please share is "patched version" of Flag Dev ? It would be really appreciated [not sure it's the right place to right this...]
Comment #80
Itangalo CreditAttribution: Itangalo commented@tbeauchemin: Attached.
ATTENTION: It seems that something is wrong with the attached, patched Flag version. Don't use it. Download the patch and Flag dev version, and patch it.
The command for applying a patch is "git apply [name of patch file]". Patches are applied from the base folder of the project being patched.
Comment #81
Ciraxis CreditAttribution: Ciraxis commentedafter i create my rule and click on a flag i got that error
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in RulesIdentifiableDataWrapper->set() (line 649 of /home/stefan/public_html/drupal_version/sites7/uba/modules/rules/includes/rules.state.inc).
if i use js to toggle the flag i got an 500 http error
used the code from post #80
anyone else have that problem?
E: without rules and flag actions i have no problems.
Comment #82
SteffenR@Itangalo - i just tried your patched flag version with latest version of rules - unfortunatly i get the error:
( ! ) Fatal error: Class 'FlagRulesDataWrapper' not found in /Users/steffen/test/sites/all/modules/rules/rules.module on line 356
The FlagRulesDataWrapper Class is availabe in flag.rules.inc ..
Thx for help
Comment #83
ptmkenny CreditAttribution: ptmkenny commentedI was able to get the patch at #73 working, thanks!
At first I kept getting HTTP 500 errors when flagging users and activating a rule, but clearing the cache twice did the trick.
Comment #84
a.ross CreditAttribution: a.ross commentedsub
Comment #85
hellomobe CreditAttribution: hellomobe commentedTried #73 and #80 - I get the following error from both
Rules config:
Event -> A user has been flagged, under "Flag-Name"
Condition -> user has role -> Parameter: User: [flagging-user], Roles: role 1
Action -> empty (because I was testing to find the problem)
Comment #86
hubrt CreditAttribution: hubrt commentedwill Flag be available as a condition as well, e.g. as in
- on EVENT abc
- CONDITION: content/user is flagged
- ACTION: xyz
Comment #87
g76 CreditAttribution: g76 commentedsub +1 for the integration
Comment #88
khiminrm CreditAttribution: khiminrm commentedSubscribe
Comment #89
EndEd CreditAttribution: EndEd commentedSubscribe... Get the error from #81, #54. Tried all patches
Comment #90
clashar CreditAttribution: clashar commented+1
Comment #91
bradhawkins CreditAttribution: bradhawkins commentedSubscribe
Comment #92
rodrigoaguilera+1
Comment #93
fagoI've fixed the integration to work with the latest Rule code (see #54) and put it in a sandbox, see http://drupal.org/sandbox/fago/1256260
Also I've added an action for getting the users who flagged something. Updated patch attached also.
Comment #94
marcoscanoPatch #93 worked for me, before I was having the same error as #54 when setting the rules action "Flag a node", and after applying the patch, the node is being flagged automatically with no errors.
Thanks fago!
Comment #95
sslider999 CreditAttribution: sslider999 commentedPatch #93 working here also.
Thanks
Comment #96
BenK CreditAttribution: BenK commentedI've been testing fago's patch in #93 and it's working flawlessly. I've set up several different Rules configurations using flags as both events and actions and I've had no errors whatsoever.
The only issue I've run into is allowing anonymous users to flag content via rules (using the "Flag a node" action). I've got Session API module installed and anonymous user flagging works fine if I'm not using the Rules integration. But because the only data selector available to me for the "Users on Whose Behalf to Flag" option is "site:current-user", there doesn't appear to be a way to set a flag for an anonymous user (who by definition isn't logged in).
Fago, is there any way the Rules integration could somehow provide a data selector for both the session ID of an anonymous user and a logged in user?
Thanks,
Ben
Comment #97
fagoThe patch doesn't cover session-id based flaggings of anonymous users. This really is a separate issue we had not in d6 either and could be added in a follow-up.
Comment #98
BenK CreditAttribution: BenK commentedThanks, fago, for the clarification. I'll post the anonymous user stuff as a separate follow-up issue.
Since we have at least 3 reports of fago's patch working very well and no new bugs reported, I'm marking this as RTBC. If I've jumped the gun on this, feel free to change the status back. But I'd love to see this patch committed soon. :-)
--Ben
Comment #99
clashar CreditAttribution: clashar commentedplease port to dev, it's difficult to apply patches on many files on windows.
Comment #100
tj2653 CreditAttribution: tj2653 commentedI'm hoping the anonymous user aspect can be covered as well (in a follow-up). It's the last piece of functionality I need out of Flag to get my site operational.
Comment #101
quicksketchI've added fago as a maintainer to the Flag project, so this can be his first commit. :)
fago will now officially be maintaining the Rules integration within the Flag project. I've also added fubhy as a maintainer to help clean up the issue queue and pull out old integrations that are preventing the stable 2.0 release of Flag.
Comment #102
geerlingguy CreditAttribution: geerlingguy commentedAwesome, and welcome to flag, Fago!
Comment #103
fago@quicksketch: Great, thanks! :)
Committed.
Comment #104
Anonymous (not verified) CreditAttribution: Anonymous commentedthis seems to have broken flag, because flag.rules.inc is loaded by the theme system on every page, and unless rules is enabled, then this line leads to a fatal class not found error:
Comment #105
tobias.grasse CreditAttribution: tobias.grasse commentedSubscribing.
Comment #106
brianV CreditAttribution: brianV commentedThis just brought down our site.
Either Flag needs a dependency on Rules, or we can't autoload FlagRulesDataWrapper as it extends a class that doesn't exist if Rules is not enabled.
Comment #107
sslider999 CreditAttribution: sslider999 commentedI confirm that the rules are not shown anymore in "React on event".
Comment #108
clashar CreditAttribution: clashar commentedBenK, I see that you want to create an issue for anonymous users.
But I already have an error with latest patched version (not with a latest dev of 27 Aug)
if logged as anonymous user I got:
Notice: Trying to get property of non-object in flag_rules_condition_flagged() (line 399 of Z:\home\paris9.kz\www\emploi\sites\all\modules\flag\flag.rules.inc).
I used:"site:current-user"
Is it the same issue you have meant or another one?
Comment #109
fagoouch.
It seems odd that conditional includes are not supported by the class registry. Attached patch implements an ugly work-a-round, please test.
Update: Please do not use this issue for any troubles with *using* the Rules integration. Instead, create separate issues for that.
Comment #110
fagoah, I figured out that the registry was not the cause of the breakage, but an old left-over in hook_theme(). Removing that does it.
Comment #111
sslider999 CreditAttribution: sslider999 commentedHello,
After applying patch #109 and #110 i get the following warnings:
<-----
Warning: include_once(/home/liberpro/public_html/sites/all/modules/flag/flag.rules.inc) [function.include-once]: failed to open stream: No such file or directory in _theme_process_registry() (line 413 of /home/liberpro/public_html/includes/theme.inc).
Warning: include_once() [function.include]: Failed opening '/home/liberpro/public_html/sites/all/modules/flag/flag.rules.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in _theme_process_registry() (line 413 of /home/liberpro/public_html/includes/theme.inc).
Warning: include_once(/home/liberpro/public_html/sites/all/modules/flag/flag.rules.inc) [function.include-once]: failed to open stream: No such file or directory in _theme_process_registry() (line 413 of /home/liberpro/public_html/includes/theme.inc).
Warning: include_once() [function.include]: Failed opening '/home/liberpro/public_html/sites/all/modules/flag/flag.rules.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in _theme_process_registry() (line 413 of /home/liberpro/public_html/includes/theme.inc).
----->
Also for me the patch is not working.
Comment #112
webchickThe patch in #110 plus a
drush cc all
fixes the problem for me. Thanks!Comment #113
Anonymous (not verified) CreditAttribution: Anonymous commentedyep, me too, thanks fago.
Comment #114
quicksketchLet's not get sensational in the issue title. We haven't even made a "release" including this functionality yet.
Comment #115
quicksketchI've committed #110 which should prevent flag.rules.inc from being loaded if Rules doesn't exist.
Comment #116
webchickRock! Thank you so much. :)
Comment #117
Itangalo CreditAttribution: Itangalo commented+1 for the awesomeness of this. Thanks for great work to all involved.
Comment #118
fagoThanks quicksketch!