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

Error thrown in Reports if one of the params for in between filter is NULL

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.6
    • Fix Version/s: 4.7.8
    • Component/s: CiviReport
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Error thrown in Reports if one of the params for in between filter is NULL

      backTrace

      #0 /Users/yashodha/git/civicrm/CRM/Core/Error.php(367): CRM_Core_Error::backtrace()
      #1 /Users/yashodha/git/civicrm/CRM/Utils/Type.php(287): CRM_Core_Error::fatal(" is not of the type Int")
      #2 /Users/yashodha/git/civicrm/CRM/Report/Form.php(1778): CRM_Utils_Type::escape("", "Int")
      #3 /Users/yashodha/git/civicrm/CRM/Report/Form.php(2507): CRM_Report_Form->whereClause((Array:15), "bw", "", "", "200")
      #4 /Users/yashodha/git/civicrm/CRM/Report/Form.php(2441): CRM_Report_Form->storeWhereHavingClauseArray()
      #5 /Users/yashodha/git/civicrm/CRM/Report/Form.php(2644): CRM_Report_Form->where()
      #6 /Users/yashodha/git/civicrm/CRM/Report/Form/Contact/Summary.php(245): CRM_Report_Form->buildQuery(TRUE)

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              yashodha Yashodha Chaku
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h