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

Actions after a custom search that inherits from CRM_Contact_Form_Search_Custom_Base and that include WHERE clauses to filter is_deleted throw errors

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: CiviCase, CiviCRM Search
    • Labels:
      None

      Description

      It's because of validateUserSQL tripping over the substring "delete".

      Suggest altering the substring search to look instead for the variations of the exclusion words that have white space before or after, i.e. fail on matching the regular expression /\sdelete/ OR /delete\s/

      If you don't see a problem with that solution then you can assign back to me and I'll update.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              demeritcowboy Dave D
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: