Closed (fixed)
Project:
View reference
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2011 at 13:48 UTC
Updated:
30 Jan 2011 at 03:56 UTC
After upgrading from 6.24 to 6.32 all existing CCK view references do not work. On a node that displayed a view, the name of the view was lost but the argument was kept. When I went to the configuration of the CCK field I found that all Views to be referenced were lost. I enabled them and still no luck. I then tried to choose the view again, but it will not save the setting.
I am using CCK 3.x-dev
Comments
Comment #1
fullerja commentedI rebuilt the CCK field and it works. I am going to leave this open in the hopes that I don't have to find and fix all the view references in the site, but I do have a work around.
Comment #2
danielb commentedDid you run the database update script?
Comment #3
fullerja commentedI did and I got no errors
Comment #4
danielb commentedI just tested out doing this upgrade and the data in the nodes gets fixed up fine. You have to redo the 'views that can be referenced' bit for the options to show up on the node edit form though, sorry but I don't know how to update that automatically.
Comment #5
fullerja commentedThanks for taking a look, I ended up rebuilding all the references. The data was preserved in the db so it didn't take as long as I feared.
I upgrade a bunch of modules at the same time and one of them may have interfered.
I am going to close this thread.
Comment #6
danielb commentedI've added support to migrate the settings from 2.x to 3.x during the database update. It took annoyingly long because I had to work around a core bug.
I'm afraid if you've already upgraded to 6.x-3.2 or less, it won't work. It also won't work if you upgrade straight to Drupal 7.
So you have to go 6.x-2.x to 6.x-3.x and then 6.x-3.x to 7.x-3.x