Download & Extend

Error in rules.inc if core triggers is enabled

Project:Content Access
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

If the core triggers module is enable an error is thrown in rules.inc as the function rules_log isn't available. This patch added a check to see if rules is enabled.

AttachmentSizeStatusTest resultOperations
content_access_rules.patch1.16 KBIgnored: Check issue status.NoneNone

Comments

#1

Title:Error in rules.inc is core triggers is enabled» Error in rules.inc if core triggers is enabled

#2

Reroll without screen message if rules isn't enabled.

AttachmentSizeStatusTest resultOperations
contact_access_rules.patch1.06 KBIgnored: Check issue status.NoneNone

#3

Status:needs review» closed (won't fix)

!? The .rules.inc file is only for rules, no one else includes and the actions are rules action? So I don't see how there should be any problem with core triggers. Please correct me (and reopen) if I haven't got the point.

nobody click here