Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2011 at 13:32 UTC
Updated:
31 May 2011 at 18:20 UTC
On trying to add a view pane to a panel...
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /panels/ajax/editor/add-pane/3/middle/views_panes/test_view-panel_pane-one
StatusText: OK
ResponseText:
Fatal error: Call to undefined method views_plugin_display_default::get_argument_input() in ..snip../drupal/sites/all/modules/ctools/views_content/plugins/content_types/views_panes.inc on line 363
Comments
Comment #1
merlinofchaos commentedHmm. This indicates that you have a content pane display listed and it's trying to use it; when it tries to set the view to that display, it fails, and it gets the default display instead. This is pretty much a fatal error, and while I should put in some code to make the error a little more graceful, it's still going to be broken.
So that leads us to the question of...how did you actually get into this situation? I have been playing with content panes for a bit and it hasn't happened for me. It's possible there's some caching issue going on. Did you change/modify/delete the view that this is working on prior to making this edit?
Comment #2
merlinofchaos commentedI've gone ahead and committed to fix to make this failure more graceful, at least. I'm not sure I'm going to be able to do much better than this. :/
Comment #4
zarudnyi commentedHi, I got this error after changing machine name for views display. I used "-" as word separator, after replacing "-" with "_" ("recent_books" instead "recent-books") it works fine.
So if hyphens was not allowed in display machine name it should be specified in form help text.
Thank You for help.
Comment #5
merlinofchaos commentedHm. Views should not let you use a - in the display id. Check Views, there may be an issue about that already. That's a Views bug, though.