Great module so far, but I've recently noticed a bug in the Views integration implementation. It seems that a Rules Link will only display in a view for user #1 (the site admin user). Regardless of the access controls set on the view or the permissions set for the Rules Link, it seems that only user #1 will be able to see the link within a view. (I also double-checked that all roles have the ability to execute the Rules Link on the site permissions page.)

To recreate this, create a Rules Link titled "Learn More" (attached to the "article" content type) with an action to redirect to an external website.

Then, assign permissions to this Rules Link so that all anonymous and authenticated users can execute the Learn More link. If you then create a view of all article nodes and configure "Content: Learn More" as a field within the view, then the Learn More link will only be visible (for each node in the view) for user #1.

Any ideas on how to fix? I'd love to use this module in production, but I need a way to actually be able to display the link within a view. Thoughts?

Thanks,
Ben

Comments

mh86’s picture

mh86’s picture

Status: Active » Closed (duplicate)

marking as duplicated, as the issue above seems to fix the problem

BenK’s picture

Status: Closed (duplicate) » Active

The patch referenced in #1 does not seem to fix this problem for me. I'm changing the status of this issue back to "active."

@mh86: Did you actually test the patch on the other thread with this issue? I've cleared caches and am not seeing any improvement at all. If there's something I'm not doing, let me know.

--Ben

sepgil’s picture

I cant reproduce this bug. Please test it out with the newest dev version.

BenK’s picture

Status: Active » Fixed

I've upgraded to the latest -dev versions of Rules, Entity API, and Rules Link and that looks to have solved the problem... thanks! :-) Marking this as fixed.

--Ben

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.