Closed (fixed)
Project:
Viewfield
Version:
5.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 May 2008 at 17:48 UTC
Updated:
26 May 2008 at 17:11 UTC
I've been using views 5.x-1.2 with good results. Upon upgrading to 5.x-1.4, I am unable to add views to a node using existing viewfield types. Everything looks okay in the Add node form but anything selected in the viewfield types doesn't "stick" upon select. Updating an existing node, viewfield selections show normally when the edit form is loaded but are lost upon submit.
Existing nodes with viewfields display properly - as long as you don't edit them.
Using Drupal 5.7, Views 5.x-1.6, Token 5.x-1.11
Comments
Comment #1
EgonO commentedsame here.
Comment #2
darren ohYou may need to update the "Display fields" settings for your content type. They weren't being used before.
Comment #3
rhache commentedI've got the same issue. When I select a viewfield and submit, the changes don't "stick" ie. If you edit the node immediately after submitting it, the viewfield is blank.
I changed the display settings as well as playing around with field configs, but that didn't change anything. I then manually changed the field in database and that worked.
We are running Drupal 5.7 with the latest modules for everything, including the new CCK version 1.7.
I should also mentioned that I'm using Viewfield on other pages and they work fine on those pages.
Let me know if you would like me to do any further testing.
Sincerely,
Rene
Comment #4
darren ohWhat did you have to change in the database?
Comment #5
zoo33 commentedI'm seeing exactly the same behaviour. View selections don't stick. My view field is a multiple field, but it doesn't matter if I choose one or more views.
Drupal 5.7, Views 5.x-1.6, Viewfield 5.x-1.4, CCK 5.x-1.7
I managed to add fields manually too:
INSERT INTO content_field_view (vid, delta, nid, field_view_vname) values ({vid}, 0, {nid}, 'view_name');Comment #6
rhache commentedI inserted the view name in the database with phpMyAdmin
Comment #7
darren ohComment #8
darren ohFixed in CVS commit 115918.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.