I have a View that uses a Product Reference relationship from the Commerce module. I need to do this because Commerce keeps product pricing information in a product entity rather than in the product display node. The View pulls in other fields (title, body) that have nothing to do with the Product Reference relationship. The view works correctly if I am logged in as administrator, but returns no results to anonymous or authenticated users. Access controls in the view are set to none. I am not sure if this is a bug or if I am missing a setting someplace.

Comments

agentrickard’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Are you adding fields, filters or contextual filters owned by Domain Views?

That is, are any elements of the View prefixed with 'Domain'?

If not, this is not relevant to this module and should be moved to the Commerce queue.

davidcorn’s picture

Negative. Everything comes from nodes or entities. Thanks.

agentrickard’s picture

Use Devel Node Access to debug. Then either move of close this issue, please.

davidcorn’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
Fernly’s picture

I don't know if it helps but you never know.. Do anonymous users have permission to view products?

heshanlk’s picture

Disable Query Rewritting worked for me.

JThan’s picture

THX for that heshan.lk. I had to disable Query rewriting too. If I find some time, I will investigate further.

dropchew’s picture

Will there be any complications if we disable Query rewriting for a vew? From the description its says

Disabling SQL rewriting will disable node_access checks as well as other modules that implement hook_query_alter().

...

rgds,