Hi, I have a problem with the update of the latest version of views 7.x-3.0-rc3 :
i test both with the beta-2 and the latest dev version of field_collection
Notice: Undefined index: table in view->fix_missing_relationships() (line 449 of /../views/includes/view.inc).

I add a relationship on the field_field_collection_value, in my ctools export files i have the index ['table'] :

  $handler->display->display_options['relationships']['field_user_collection_address_value']['id'] = 'field_user_collection_address_value';
  $handler->display->display_options['relationships']['field_user_collection_address_value']['table'] = 'field_data_field_user_collection_address';
  $handler->display->display_options['relationships']['field_user_collection_address_value']['field'] = 'field_user_collection_address_value';
  $handler->display->display_options['relationships']['field_user_collection_address_value']['required'] = 0;

The relationships work well as i can retrieve fields values from the field_collection instance.

and i don't know if this is related to this module or the entity api module as i see he has mutiple issue with the latest version of views.

I used the ctools export/import method for having my views in code. so i have the notice every time i use the views in front and back end, and on every clear cache.

I re-generate my export files with the latest dev versions of entity api and field_collection.

Comments

delta’s picture

do you reproduce this issue ?

azinck’s picture

edit: nevermind, my problem was being caused by a panel embedding a views content pane. My panel was attempting to specify a field that had been subsequently removed from the view.

azinck’s picture

Issue summary: View changes

add more information for the maintainers

jmuzz’s picture

Status: Active » Postponed (maintainer needs more info)

You are using ctools export directly, and not the Features module? What are you doing with the code it gives you? Is it in a hook?

jmuzz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)