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

Do no assume all BAOs have exportableFields method in Core_report

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.18
    • Fix Version/s: 4.7.19
    • Component/s: CiviReport
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      This is a minor port from the extended reports extension - it's possible to define a BAO or DAO in the columns declaration. The code then intuits from this whether there is an exportableFields function, but not all BAOs have one (e,g campaign) - it is better to just use method_exists

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: