When nodereference_variables_return_nodes() prepares the referenced nodes it doesn't currently check whether they are published or unpublished. This means that unpublished nodes get included as tabs.
I'm working on a patch and will post it shortly.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodereference_variables-check_unpublished_1.patch | 729 bytes | steveparks |
| #1 | nodereference_variables-check_unpublished.patch | 1.33 KB | steveparks |
Comments
Comment #1
steveparks commentedInitial patch attached
Comment #2
steveparks commentedCorrected patch
Comment #3
greg.harveyThanks, Steve. Will apply asap...
Comment #4
greg.harveyHmm, seems the version of the module this was patched for is quite out of sync with current -dev. I suspect this is my fault and I made improvements on the client project without updating dev (and Steve patched against the client project). I need to merge changes before this patch can be applied.
Comment #5
slv_ commentedAfter merging the client version of code, with the improvements made, it seems this is already fixed there, so makes no sense to apply this, as basically there's nothing to apply now =).
Marking as closed (fixed)