Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.0-rc10
Component:
nodereference.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2008 at 22:05 UTC
Updated:
14 Jul 2012 at 23:32 UTC
Comments
Comment #1
petiar commentedI have found another katalog node type which can not be referenced (the same issue). Can anybody assist? Thanks a lot.
Actually, I have found out something (at least) - this is only happening if the reference filed uses views. When I disabled the views for the prticular field, that error has disappeared.
Comment #2
yched commentedThe field 'field_suvisiace_v_katalogu' uses a View to define which nodes can be references. Double check that this view returns all the nodes you'd expect to be referenceable.
Not much more I can do to help on this.
Until there's evidence of a bug, turning this into a support request.
Comment #3
andershal commentedI have a nodereference allowing all(approx. 1.200) image nodes to be referenced. When using a view I have to set the limit to "0" as in unlimited, and the result is a very slow check for allowed values.
One solution could be setting some kind of "AND nid IN(123,456,789)" filter, when the edit form is submitted. The nids in this list should be the ones selected by the user in the edit form.
Comment #4
yched commented@andershal : Please don't hijack issues, Create new ones if needed. Also note that validation in final 2.0 already does "AND nid IN(123,456,789)"?
Comment #5
andershal commentedGuess I was a bit to quick! This has been resolved in the latest 2.0 release - see this issue: http://drupal.org/node/298651
Comment #6
andershal commented@yched: Sorry... but I believe the original posters problem is solved with the latest 2.0 release.
Comment #7
newbuntu commentedI am getting the same error:"This post can't be referenced"
I just downloaded 6.2.1. It didn't help. I tried to trace the code and got lost somewhere inside _nodereference_potential_references_standard(). I saw all $field['referenceable_types'] were all false. I don't know why they are all false.
And I believe that's where everything starts to fail!
Comment #8
newbuntu commentedWell, in my case, I just went back and edited my type again. I don't know why "Content types that can be referenced: " were all unchecked. So I had to re-check the referencing type. It worked.
Is there any reason that can cause these fields to become "unchecked"? The uncertainty kind of bothers me...
Comment #9
Flying Drupalist commented