What I'm trying to accomplish:
Content types A and B may reference each other, CNR will be used to create the corresponding reference. Node A should only be able to reference Node B if Node B does not reference another node already... and vice versa. I've created two views (one for each content type) which should return the nodes which can be referenced. They filter on the node reference field and require that it be empty to accomplish what I described before.

The problem:
The views filtering works does not work on the node with the reference created by CNR, it returns nodes even if they do have a reference already. It does filter correctly on the node which I edit to create the reference.

I hope I've described this well enough. What is different about a reference created by CNR that would cause views filtering to not work on it?

Thanks!

Comments

domidc’s picture

Status: Active » Closed (cannot reproduce)

Cnr does nothing that interferes with the "view as allowed list" feature of the node reference widget. It merely sync references by using a hook nodeapi. Please check your views configuration.