Not sure what happened with dev4, but it doesn't work at all.

I can select BEF, but when I try to hit settings, nothing happens. And updating the view gives me a bunch of ajax script such as

[{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"dQfHHILBwP3nNRnTtv8O5x08Sph5TUZW0YiEpPZ9k3Q"}},"merge":true},{"command":"viewsSetForm","output":"\u003Cform action=\u0022\/admin\/structure\/views\/ajax\/display\/places_to_stay_grid\/page\/exposed_form\u0022 method=\u0022post\u0022 id=\u0022views-ui-edit-display-form\u0022 accept-charset=\u0022UTF-8\u0022\u003E\u003Cdiv\u003E\u003Cdiv class=\u0022views-override clearfix container-inline\u0022\u003E\u003Cdiv class=\u0022form-item form-type-select form-item-override-dropdown\u0022\u003E\n \u003Clabel for=\u0022edit-override-dropdown\u0022\u003EFor \u003C\/label\u003E\n \u003Cselect id=\u0022edit-override-dropdown\u0022 name=\u0022override[dropdown]\u0022 class=\u0022form-select\u0022\u003E\u003Coption value=\u0022default\u0022\u003EAll displays\u003C\/option\u003E\u003Coption value=\u0022page\u0022\u003EThis page (override)\u003C\/option\u003E\u003C\/select\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\u003Cdiv class=\u0022scroll form-wrapper\u0022 id=\u0022edit-options\u0022\u003E\u003Cdiv class=\u0022clearfix\u0022\u003E\u003Cdiv id=\u0022edit-exposed-form-type\u0022 class=\u0022form-radios\u0022\u003E\u003Cdiv class=\u0022form-item form-type-radio form-item-exposed-form-type\u0022\u003E\n \u003Cinput type=\u0022radio\u0022 id=\u0022edit-exposed-form-type-basic\u0022 name=\u0022exposed_form[type]\u0022 value=\u0022basic\u0022 class=\u0022form-radio\u0022 \/\u003E \u003Clabel class=\u0022option\u0022 for=\u0022edit-exposed-form-type-basic\u0022\u003EBasic \u003C\/label\u003E\n\n\u003C\/div\u003E\n\u003Cdiv class=\u0022form-item form-type-radio form-item-exposed-form-type\u0022\u003E\n \u003Cinput type=\u0022radio\u0022 id=\u0022edit-exposed-form-type-better-exposed-filters\u0022 name=\u0022exposed_form[type]\u0022 value=\u0022better_exposed_filters\u0022 checked=\u0022checked\u0022 class=\u0022form-radio\u0022 \/\u003E \u003Clabel class=\u0022option\u0022 for=\u0022edit-exposed-form-type-better-exposed-filters\u0022\u003EBetter Exposed Filters \u003C\/label\u003E\n\n\u003C\/div\u003E\n\u003Cdiv class=\u0022form-item form-type-radio form-item-exposed-form-type\u0022\u003E\n \u003Cinput type=\u0022radio\u0022 id=\u0022edit-exposed-form-type-input-required\u0022 name=\u0022exposed_form[type]\u0022 value=\u0022input_required\u0022 class=\u0022form-radio\u0022 \/\u003E \u003Clabel class=\u0022option\u0022 for=\u0022edit-exposed-form-type-input-required\u0022\u003EInput required \u003C\/label\u003E\n\n\u003C\/div\u003E\n\u003C\/div\u003E\u003C\/div\u003E\u003Cdiv class=\u0022form-item description\u0022\u003EYou may also adjust the \u003Ca href=\u0022\/admin\/structure\/views\/nojs\/display\/places_to_stay_grid\/page\/exposed_form_options\u0022 class=\u0022views-ajax-link \u0022 title=\u0022settings\u0022 id=\u0022views-page-exposed-form-options\u0022\u003Esettings\u003C\/a\u003E for the currently selected style.\u003C\/div\u003E\u003C\/div\u003E\u003Cdiv class=\u0022clearfix\u0022\u003E\u003Cdiv class=\u0022form-buttons\u0022\u003E\u003Cinput type=\u0022submit\u0022 id=\u0022edit-submit\u0022 name=\u0022op\u0022 value=\u0022Apply\u0022 class=\u0022form-submit\u0022 \/\u003E\u003Cinput type=\u0022submit\u0022 id=\u0022edit-cancel\u0022 name=\u0022op\u0022 value=\u0022Cancel\u0022 class=\u0022form-submit\u0022 \/\u003E\u003C\/div\u003E\u003C\/div\u003E\u003Cinput type=\u0022hidden\u0022 name=\u0022form_build_id\u0022 value=\u0022form-U121gPgtDtIluHNKRNWSh3DlkRqm2sqUOG9CqHnA6mE\u0022 \/\u003E\n\u003Cinput type=\u0022hidden\u0022 name=\u0022form_token\u0022 value=\u0022lwENSFpCZaCwS2fXwpf7pS1ZvK0FZl7Pg7i_6QLcH1c\u0022 \/\u003E\n\u003Cinput type=\u0022hidden\u0022 name=\u0022form_id\u0022 value=\u0022views_ui_edit_display_form\u0022 \/\u003E\n\u003C\/div\u003E\u003C\/form\u003E","title":"Page: Exposed Form","url":"http:\/\/dev-cincinnatiusa.gotpantheon.com\/admin\/structure\/views\/ajax\/display\/places_to_stay_grid\/page\/exposed_form"}]

This is usually a Jquery update issue, (I have it set to 1.7). But rolling back to 3 until this becomes more stable.

CommentFileSizeAuthor
#9 bef_2207937_8-7.x-1.0.tar_.txt388 KBNancyDru
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeker’s picture

Status: Active » Postponed (maintainer needs more info)

Can you attach an export of the view that's causing problems?

Thanks.

CLEE25’s picture

Hi Mikeker, thanks for the reply. I am slammed right now trying to get this site up under deadline, so I would have to reinstall and recreate. Can we postpone this when I have more time?

4fs’s picture

Hi. I have the same issue as above. Using ubercart and with views hacks and core (7.26) with all modules up to date. I reverted to beta3 to resolve this. Here is my view - not sure if you require anything else. I do not have jQuery update as that would be the most logical place to look. I hope this helps:

$view = new view();
$view->name = 'uc_catalog';
$view->description = 'Catalog';
$view->tag = '';
$view->base_table = 'node';
$view->human_name = '';
$view->core = 0;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Defaults */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'better_exposed_filters';
$handler->display->display_options['exposed_form']['options']['autosubmit'] = TRUE;
$handler->display->display_options['exposed_form']['options']['bef'] = array(
'general' => array(
'allow_secondary' => 0,
'secondary_label' => 'Advanced options',
),
'field_brands_tid_selective' => array(
'bef_format' => 'default',
'more_options' => array(
'bef_select_all_none' => FALSE,
'bef_collapsible' => 0,
'is_secondary' => 0,
'bef_filter_description' => '',
'tokens' => array(
'available' => array(
0 => 'global_types',
),
),
),
),
);
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '12';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['quantity'] = '9';
$handler->display->display_options['style_plugin'] = 'fluid_grid';
$handler->display->display_options['style_options']['items_width'] = '200';
$handler->display->display_options['style_options']['advanced_layout'] = array(
'align' => TRUE,
'margins' => TRUE,
);
$handler->display->display_options['style_options']['items_alignment'] = 'center';
$handler->display->display_options['style_options']['items_h_margin'] = '6px';
$handler->display->display_options['style_options']['items_v_margin'] = '8px';
$handler->display->display_options['style_options']['box_shadow'] = '0';
$handler->display->display_options['style_options']['border_radius'] = '0';
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['inline'] = array(
'field_brands' => 'field_brands',
);
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
/* Relationship: Comment: Comments of the node */
$handler->display->display_options['relationships']['cid']['id'] = 'cid';
$handler->display->display_options['relationships']['cid']['table'] = 'node';
$handler->display->display_options['relationships']['cid']['field'] = 'cid';
/* Field: Content: Image */
$handler->display->display_options['fields']['entity_id']['id'] = 'entity_id';
$handler->display->display_options['fields']['entity_id']['table'] = 'field_data_uc_product_image';
$handler->display->display_options['fields']['entity_id']['field'] = 'uc_product_image';
$handler->display->display_options['fields']['entity_id']['label'] = '';
$handler->display->display_options['fields']['entity_id']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['entity_id']['settings'] = array(
'image_style' => 'uc_product_list',
'image_link' => 'content',
);
$handler->display->display_options['fields']['entity_id']['delta_limit'] = '1';
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
/* Field: Content: Body */
$handler->display->display_options['fields']['body']['id'] = 'body';
$handler->display->display_options['fields']['body']['table'] = 'field_data_body';
$handler->display->display_options['fields']['body']['field'] = 'body';
$handler->display->display_options['fields']['body']['label'] = '';
$handler->display->display_options['fields']['body']['alter']['max_length'] = '52';
$handler->display->display_options['fields']['body']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['body']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['body']['alter']['trim'] = TRUE;
$handler->display->display_options['fields']['body']['element_label_colon'] = FALSE;
/* Field: Product: SKU */
$handler->display->display_options['fields']['model']['id'] = 'model';
$handler->display->display_options['fields']['model']['table'] = 'uc_products';
$handler->display->display_options['fields']['model']['field'] = 'model';
$handler->display->display_options['fields']['model']['label'] = '';
$handler->display->display_options['fields']['model']['exclude'] = TRUE;
$handler->display->display_options['fields']['model']['element_label_colon'] = FALSE;
/* Field: Content: Sale price */
$handler->display->display_options['fields']['field_sale_price']['id'] = 'field_sale_price';
$handler->display->display_options['fields']['field_sale_price']['table'] = 'field_data_field_sale_price';
$handler->display->display_options['fields']['field_sale_price']['field'] = 'field_sale_price';
$handler->display->display_options['fields']['field_sale_price']['label'] = '';
$handler->display->display_options['fields']['field_sale_price']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_sale_price']['alter']['text'] = '

Was: [field_sale_price]

';
$handler->display->display_options['fields']['field_sale_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_sale_price']['empty'] = '

 

';
$handler->display->display_options['fields']['field_sale_price']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_sale_price']['settings'] = array(
'thousand_separator' => '.',
'prefix_suffix' => 1,
);
/* Field: Product: Display price */
$handler->display->display_options['fields']['display_price']['id'] = 'display_price';
$handler->display->display_options['fields']['display_price']['table'] = 'uc_products';
$handler->display->display_options['fields']['display_price']['field'] = 'display_price';
$handler->display->display_options['fields']['display_price']['label'] = '';
$handler->display->display_options['fields']['display_price']['element_label_colon'] = FALSE;
/* Field: Content: Path */
$handler->display->display_options['fields']['path']['id'] = 'path';
$handler->display->display_options['fields']['path']['table'] = 'node';
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['exclude'] = TRUE;
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
/* Field: Field: Average rating */
$handler->display->display_options['fields']['field_average_rating']['id'] = 'field_average_rating';
$handler->display->display_options['fields']['field_average_rating']['table'] = 'field_data_field_average_rating';
$handler->display->display_options['fields']['field_average_rating']['field'] = 'field_average_rating';
$handler->display->display_options['fields']['field_average_rating']['relationship'] = 'cid';
$handler->display->display_options['fields']['field_average_rating']['label'] = '';
$handler->display->display_options['fields']['field_average_rating']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_average_rating']['empty'] = 'Write a Review';
$handler->display->display_options['fields']['field_average_rating']['click_sort_column'] = 'rating';
$handler->display->display_options['fields']['field_average_rating']['settings'] = array(
'widget' => array(
'fivestar_widget' => 'sites/all/modules/fivestar/widgets/basic/basic.css',
),
'expose' => 1,
'style' => 'average',
'text' => 'none',
);
/* Field: Content: Brand */
$handler->display->display_options['fields']['field_brands']['id'] = 'field_brands';
$handler->display->display_options['fields']['field_brands']['table'] = 'field_data_field_brands';
$handler->display->display_options['fields']['field_brands']['field'] = 'field_brands';
/* Field: Content: Has new content */
$handler->display->display_options['fields']['timestamp']['id'] = 'timestamp';
$handler->display->display_options['fields']['timestamp']['table'] = 'history';
$handler->display->display_options['fields']['timestamp']['field'] = 'timestamp';
$handler->display->display_options['fields']['timestamp']['label'] = '';
$handler->display->display_options['fields']['timestamp']['exclude'] = TRUE;
$handler->display->display_options['fields']['timestamp']['element_label_colon'] = FALSE;
/* Field: Product: Buy it now button */
$handler->display->display_options['fields']['buyitnowbutton']['id'] = 'buyitnowbutton';
$handler->display->display_options['fields']['buyitnowbutton']['table'] = 'uc_products';
$handler->display->display_options['fields']['buyitnowbutton']['field'] = 'buyitnowbutton';
$handler->display->display_options['fields']['buyitnowbutton']['label'] = '';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Content: Has taxonomy term ID (with depth) */
$handler->display->display_options['arguments']['term_node_tid_depth']['id'] = 'term_node_tid_depth';
$handler->display->display_options['arguments']['term_node_tid_depth']['table'] = 'node';
$handler->display->display_options['arguments']['term_node_tid_depth']['field'] = 'term_node_tid_depth';
$handler->display->display_options['arguments']['term_node_tid_depth']['default_action'] = 'default';
$handler->display->display_options['arguments']['term_node_tid_depth']['breadcrumb_enable'] = TRUE;
$handler->display->display_options['arguments']['term_node_tid_depth']['breadcrumb'] = 'products';
$handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_type'] = 'taxonomy_tid';
$handler->display->display_options['arguments']['term_node_tid_depth']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['term_node_tid_depth']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['term_node_tid_depth']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['term_node_tid_depth']['specify_validation'] = TRUE;
$handler->display->display_options['arguments']['term_node_tid_depth']['validate']['type'] = 'taxonomy_term';
$handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['vocabularies'] = array(
'catalog' => 'catalog',
'tags' => 'tags',
);
$handler->display->display_options['arguments']['term_node_tid_depth']['validate']['fail'] = 'empty';
$handler->display->display_options['arguments']['term_node_tid_depth']['depth'] = '0';
$handler->display->display_options['arguments']['term_node_tid_depth']['set_breadcrumb'] = TRUE;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = '1';
/* Filter criterion: Node: Is a product */
$handler->display->display_options['filters']['is_product']['id'] = 'is_product';
$handler->display->display_options['filters']['is_product']['table'] = 'uc_products';
$handler->display->display_options['filters']['is_product']['field'] = 'is_product';
$handler->display->display_options['filters']['is_product']['value'] = '1';
/* Filter criterion: Content: Brand (field_brands) (selective) */
$handler->display->display_options['filters']['field_brands_tid_selective']['id'] = 'field_brands_tid_selective';
$handler->display->display_options['filters']['field_brands_tid_selective']['table'] = 'field_data_field_brands';
$handler->display->display_options['filters']['field_brands_tid_selective']['field'] = 'field_brands_tid_selective';
$handler->display->display_options['filters']['field_brands_tid_selective']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_brands_tid_selective']['expose']['operator_id'] = 'field_brands_tid_selective_op';
$handler->display->display_options['filters']['field_brands_tid_selective']['expose']['label'] = 'By Brand';
$handler->display->display_options['filters']['field_brands_tid_selective']['expose']['operator'] = 'field_brands_tid_selective_op';
$handler->display->display_options['filters']['field_brands_tid_selective']['expose']['identifier'] = 'field_brands_tid_selective';
$handler->display->display_options['filters']['field_brands_tid_selective']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
3 => 0,
);

/* Display: Content pane */
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
$handler->display->display_options['inherit_panels_path'] = '1';

nagy.balint’s picture

I also have the same issue.

mikeker’s picture

@4fs: Thanks for the export. Unfortunately, that view has dependencies on fields that I don't have installed (eg: field_data_field_brands.field_brands). Can you either reduce this to a minimal view that reproduces the issue using core fields or bundle the content type definition into a feature and attach that to this issue? Or include step necessary to reproduce this from a clean install?

Thanks.

NancyDru’s picture

I am seeing this with both beta3 and beta4. In addition, I suspect because of the number of filters, I get "A script on this page may be busy..." and it never seems to end.

mikeker’s picture

@NancyDru: Any chance you can provide a feature (content and related view) that reproduces this issue. (Often the root is a combination of content config and Views config and it's hard to debug otherwise.).

Thanks!

NancyDru’s picture

I can try on Monday.

NancyDru’s picture

Here's the feature. Remove the "txt" from the name - it is a tar file.

NancyDru’s picture

Status: Postponed (maintainer needs more info) » Active
Jinghan Wang’s picture

I see those code when I try to check the input require check box on the BEF setting page. It shows no matter the AJAX are used or not.

mikeker’s picture

Status: Active » Closed (cannot reproduce)

Issue queue cleanup... My apologies for taking so long to address this issue. I hate it when a maintainers ask you for specifics, you give it to them, and then nothing happens for about a year! :) Sorry!

I'm not able to reproduce this problem using the latest version of BEF. If you're still seeing this, please reopen. I tried both the exported view and the feature provided by @NancyDru, however both have dependencies that were not provided (the feature requires the masstapp module -- custom I assume?). In looking through the views export in both, I can't find anthing that stands out as unusual. re: #6: my regular test views have lots and lots of exposed filters and I haven't hit this error...