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

Custom Proximity Search broken due to some change in custom search framework

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: CiviCRM Search
    • Labels:
      None

      Description

      The Proximity custom search now throws a fatal error as soon as you try to run it, triggered by this code in the constructor:

      if ( ! isset( $this->_formValues['geo_code_1'] ) ||
      ! isset( $this->_formValues['geo_code_2'] ) ||
      ! isset( $this->_formValues['distance'] ) )

      { CRM_Core_Error::fatal( ts( 'Could not geocode input' ) ); }

      I don't think any changes were mode to Proximity.php - so I'm guessing that we changed something in a base custom search class or ?? which is causing this. Not sure what other custom searches and / or reference code examples might be affected so posting as an issue.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: