CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7
Pages: [1]

Author Topic: CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7  (Read 980 times)

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7
April 07, 2013, 08:28:49 pm
Versions: CiviCRM 4.2.8 + Drupal 7

Creating a View with CiviCRM Views of type CiviCRM Recurring Profile. Most fields show up OK, but attempting to add a field of type "Contribution Status" using the Drupal Views UI results in a "Broken/missing handler."

This works properly in CiviCRM 4.2.8 + Drupal 6.

At the code level, file /drupal/modules/views/components/civicrm.contribute.inc declares (line 960)
Code: [Select]
      'handler' => 'civicrm_handler_filter_contribution_status',

However, function civicrm_handler_filter_contribution_status() is defined nowhere within CiviCRM in D7. In the Drupal 6 version, it's defined in file /drupal/modules/views/civicrm/civicrm_handler_filter_contribution_status.inc. That file doesn't exist in the Civi4.2.8+D7 distro.

Are there missing handlers in D7? (The /views/civicrm/ folder in D7 seems to contain only about half the number of files as theD6 version.)

Robert

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7
April 08, 2013, 07:43:44 am

Views + Civi integration has not had a maintainer for some time, so there might be some missing files. In general the D7 version tried to generalize things and reduce the handlers into one common set.

would be great if you can investigate and submit a patch for D7 + 4.3

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
Re: CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7
April 08, 2013, 08:07:22 am
OK, will look into it further.

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
Re: CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7
April 08, 2013, 06:45:22 pm
Problem identified (more than 1, as it turns out):

In CiviCRM Views of type Recurring Contribution Profile, there are:
(1) Missing handlers for recurring contribution field Contribution Status
(2) Improper field declarations for recurring contribution Contact ID relationship so that links to related contact id link to the wrong contact.

patch submitted:

http://issues.civicrm.org/jira/browse/CRM-12304

Robert

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM Views with CiviCRM Recurring Contribution Status: handler broken in D7

This forum was archived on 2017-11-26.