Notice : Undefined index: edit in ctools_export_ui_plugin_menu_path() (line 412 in (...)/sites/all/modules/ctools/includes/export-ui.inc).
This notice is on the views page : admin/structure/views
With views 7.x-3.x-dev (2011-apr.-03) and ctools 7.x-1.x-dev (2011-march-27) also true with ctools alpha 4
nothing to do to reproduce as far as I know

Comments

patoshi’s picture

same problem here...

screenshot:
http://prntscr.com/1rlfd

merlinofchaos’s picture

Status: Active » Fixed

This was fixed in Views a couple days ago.

Jerome F’s picture

Status: Fixed » Closed (fixed)

I can confirm this, thank you.

maxime.deg’s picture

I can't find the related patch.
Can someone tell me where I can find it ?

Thanks

Jerome F’s picture

Just use the dev release.

Bogdan Balan’s picture

I'm using the latest dev release (2011-May-31) and I still get this error.

Jerome F’s picture

update ctools, views to the last devs, run update scripts, flush cache. You should be good to go

impol’s picture

Try to replace "ctools_export_ui_plugin_menu_path function" on this

function ctools_export_ui_plugin_menu_path($plugin, $item_id, $export_key = NULL) {
 if (strcmp($item_id,"edit") == 0)
 {
	$path = 'view/%ctools_export_ui/edit';
 }
 else 
  $path = $plugin['menu']['items'][$item_id]['path'];
  
  if ($export_key) {
    $path = str_replace('%ctools_export_ui', $export_key, $path);
  }
  return ctools_export_ui_plugin_base_path($plugin) . '/' . $path;
}

it helps me)