I have discovered, that there is an error in views_handler_relationship_groupwise_max.inc, which results in the cache not being cleared when submitting the options form.

I found that I had to change options_form_submit to options_submit in order for the submit function to be executed.

The problem occurs using the dev version and 3.10.

I have made a patch that makes the change..

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prinds’s picture

Status: Active » Needs review
FileSize
763 bytes
Chris Matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

The 4 year old patch to views_handler_relationship_groupwise_max.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.

Checking patch handlers/views_handler_relationship_groupwise_max.inc...
error: while searching for:
  /**
   * When the form is submitted, take sure to clear the subquery string cache.
   */
  function options_form_submit(&$form, &$form_state) {
    $cid = 'views_relationship_groupwise_max:' . $this->view->name . ':' . $this->view->current_display . ':' . $this->options['id'];
    cache_clear_all($cid, 'cache_views_data');
  }

error: patch failed: handlers/views_handler_relationship_groupwise_max.inc:164
error: handlers/views_handler_relationship_groupwise_max.inc: patch does not apply
Andrew Answer’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
770 bytes

Patch rerolled.