Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2009 at 11:15 UTC
Updated:
4 Dec 2010 at 21:50 UTC
rror occurred. <br />Path: http://localhost/core/admin/structure/views/ajax/details/backlinks<br />Message: <br />Fatal error: [] operator not supported for strings in /var/www/core/sites/all/modules/d7cx-views/views_ui.module on line 337<br /><br />Call Stack:<br /> 0.0000 62128 1. {main}() /var/www/core/index.php:0<br /> 0.0469 1980676 2. menu_execute_active_handler() /var/www/core/index.php:22<br /> 0.1342 3541640 3. drupal_deliver_page() /var/www/core/includes/menu.inc:469<br /> 0.1343 3542220 4. views_ui_ajax_deliver() /var/www/core/includes/common.inc:2779<br /><br />
It has to do with
function views_ui_edit_details($js, $view) {
views_include('ajax');
$form_state = array(
'view' => &$view,
'ajax' => $js,
);
$output = views_ajax_form_wrapper('views_ui_edit_details_form', $form_state);
if ($js) {
// If we don't have an output object, it was submitted. Set up the submission.
if (empty($output)) {
return views_ui_regenerate_tabs($view);
}
return $js ? array('#type' => 'ajax_commands', '#ajax_commands' => $output) : $output;
}
return $output;
}
Comments
Comment #1
dawehnerThe analyze form is not displayed. It uses a similar function. I guess if the first is solved the second can be solved, too.
Comment #2
dawehnerComment #3
dawehnerSee #788950: Clicking Override Closes Options
Comment #4
dawehnerThis was quite an amount of work.
Added a test, too.