I searched for this issue but I do not find it.
Because of the change in the view display ("Reference") required in D7, I have a problem in migrating nodereference fields from D6 (with views 2) to D7 (with views 3) (I suppose the same is for user reference)
When migrating an error occurs in edition because noderefence view are set to "Default".
How can I edit the noderefence fields to change the display?
Or where can I find the nodereference view name in the database (this will allow to change manually the display name)?
Thank you

CommentFileSizeAuthor
#1 references_D6_upgrade_fix-1409022.patch1.8 KByched

Comments

yched’s picture

Category: feature » support
Status: Active » Fixed
StatusFileSize
new1.8 KB

You can set the view that is being used by editing the field settings (click on the field type name on the "Manage fields" page)

The view first needs to be edited to include a display of type 'References'.
The names of the impacted views were supposed to be displayed in notification messages during the D6->D7 field migration, but looking at the code, I now see that the names were not actually printed. Committed the attached patch to fix that.

Other than that, you can go to devel/php (requires Devel module) and type the following code :
dsm(field_info_field('field_YOUR_FIELD_NAME'));
then dig in the 'settings' entry, you should find the view name in there.

Status: Fixed » Closed (fixed)

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