Hi,

I have a product that points to an entity type via entity reference. I have a view that shows all the products that reference an entity. When the entity is published the products are shown. If the entity is not published the view results in no products only when the user is not the admin user (uid 1).

This was working for a long time however, an update somewhere seems to have change the behavior. I'm fairly certain that it's not entity reference module because non-product entities don't have this issue.

Can anyone else confirm this behavior? Can anyone think of a work around or way to troubleshoot this deeper?

Comments

rszrama’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

You're using an entity reference field and not a product reference field? If so, I'm not sure what in Commerce could affect that. You also didn't really say what the change in behavior was. : P

psychobyte’s picture

correct, the product has an entity reference field to a a content type. When a product references a node that is not published, the view that shows such products is empty. However, when the node is published the list of products that reference the node can be seen. This was not an issue before.

The reason I think commerce is the issue is that other content types with the same entity reference field are not affected in the same way.