Posted by steveparks on November 5, 2010 at 1:23pm
3 followers
| Project: | Node Reference Variables |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | greg.harvey |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
Initial patch attached
#2
Corrected patch
#3
Thanks, Steve. Will apply asap...
#4
Hmm, 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.
#5
After 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)