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

dawehner’s picture

Title: Saving details returns error » Saving details returns error, analyze does not display

The analyze form is not displayed. It uses a similar function. I guess if the first is solved the second can be solved, too.

dawehner’s picture

Title: Saving details returns error, analyze does not display » Analyze does not submit
#626732 by dereine: Fix displaying of analyze_view, clicking ok is broken.
dawehner’s picture

dawehner’s picture

Status: Active » Fixed

This was quite an amount of work.

Added a test, too.

Status: Fixed » Closed (fixed)

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