Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10158

Search Members fails with some options (only with multilingual enable)

    Details

      Description

      Tested on Drupal 7.12 and CiviCRM 4.1.2 with multilingual support (ES_es):

      When attempting to make a member search if you select any of the following options:

      • Find Memberships Pay Later?
      • Find Test Memberships?
      • Find Auto-renew Memberships?

      the system shows a blank page with: "Non-Recoverable error: not of the type Integer".

      This can be solved by performing the following change in [DRUPAL_ROOT]/sites/all/modules/CiviCRM/CRM/Member/BAO/Query.php

      1. Diff Query.php.original Query.php.patched

      242c242
      <CRM_Core_DAO :: GetFieldValue ('CRM_Core_DAO_OptionValue', 'Cancelled', 'value', 'label'),

      > CRM_Core_DAO :: GetFieldValue ('CRM_Core_DAO_OptionValue', ts ('Cancelled'), 'value', 'label'),

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              iwidevelopment iWi development
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified