Jump to:
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.x-dev |
| Component: | nodereference.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Given:
node=type = newsletter-article
which has a nodereferencefield = View used to select the nodes: AND viewname is "newsletter_ref_select"
the view filters to type = newsletter
the view has two field [title] [field_oub_date]
when view is in DEFAULT the preview works fine
the nodereference setting is dropdown selected to "newsletter_ref_select"
BUT
when I go to node/add/newsletter_article the drop down for "newsletter" shows the proper # of entries BUT they have no visible text. Oddly enough, the value="###" is correctly populate with each Node-ID of the correct results from the view.
It's only the text that is missing. RECALL: the text should be the same as is displayed on the default-preview of the view.
HERE IS THE CRAZY PART!
IF I clear the cache WHILE I'm looking at the node/add form. THEN the page refreshed with the visible text values in the drop down!
BUT IF I refresh the page [f5] then the text disappears with the page load [again the NID values are kept, but title+pub_date is gone]
If I clear cache on any other page then navigate to that node/add form, there is NO text.
I must clear cache FROM the node/add/newsletter_article page in order to get the text visible and not just the value entries.
I have done this on 2 physically different [and rather unique] servers. I have disabled the views override functions in my template.php
Is this a bug or an ID10T err?
- DV
Comments
#1
#2
UPDATE:
When I create a whole new node-ref field in this node-type and select the view THEN the drop down appear correctly
SO..
The bug only occurs when going back and changing a node-ref from a simple checkbox of node-types to the adv-views option.
#3
Sad update...
my previous post is incorrect.
Even when creating a whole new node-ref field and using a view as the select items.... it fails to show the text to be displayed to the user. Drupal only populates the value which in my case is the nid of the node being referenced.
#4
I got the same thing here
#5
I'm seeing the same issue.
@Alkaaran & @dougvann - what version of CCK are you using? I'm using a CCK version that's one release behind, and looking at the release notes for 2.6, I suspect upgrading to the latest will fix the problem. See the release notes at http://drupal.org/node/624868 for details.
#6
I'm using CCK 2.2 (do not beat me, I just need multigroup :) )
#7
@Alkaaran, I think that's likely the cause of the problem unfortunately for you...
Upgrading to 2.6 fixed it here.