This was a long bug issue, but I finally found out the problem. Leaving here as documentation request now to help others :)

When you are calling a Views loop with Contextual filters inside a Rule/Component, it is important that the View (Rules display) > Rules settings > Parameters are set with the same Data type of the argument your are passing from the Rule.

You won't get any warning for not doing so, and the Views loop won't get fired even if the View has defaults or no results values in the Contextual filters settings.

Also keep in mind that a default View Contextual filter is using an ID to filter, so you must configure (in the View Rules display) the Rules settings > Parameters to be Integers!

CommentFileSizeAuthor
#3 Screen Shot 2014-11-22 at 23.10.05.png41.48 KBkopeboy

Comments

kopeboy’s picture

Forgot to thank you for this simple but great and mega-useful module :)

kopeboy’s picture

Issue summary: View changes
kopeboy’s picture

Issue summary: View changes
StatusFileSize
new41.48 KB
kopeboy’s picture

Title: Doesn't work if nested inside a Views loop » More documentation on Parameters
Component: Code » Documentation
Issue summary: View changes
Priority: Major » Normal
kopeboy’s picture

Issue summary: View changes
kopeboy’s picture

Issue summary: View changes
bisonbleu’s picture

Title: More documentation on Parameters » More documentation on Parameters and Row variables
Category: Bug report » Support request
Status: Active » Closed (fixed)

Thanks @kopeboy. Documentation is hard to come by for this great module. So every little bit helps.

On that note, with respect to Row variables, if your view is fetching/returning NIDs for e.g. populating entityreference fields via Rules, the Data type needs to be 'Node' and not integer. See the screenshots.

Closing. Feel free to add more information that you would like to share.