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

EgonO’s picture

same here.

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)

You may need to update the "Display fields" settings for your content type. They weren't being used before.

rhache’s picture

Priority: Normal » Critical

I'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

darren oh’s picture

What did you have to change in the database?

zoo33’s picture

I'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');

rhache’s picture

I inserted the view name in the database with phpMyAdmin

darren oh’s picture

Assigned: Unassigned » darren oh
Status: Postponed (maintainer needs more info) » Active
darren oh’s picture

Status: Active » Fixed

Fixed in CVS commit 115918.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.