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

Map Profile Results Smarty error when no mapping provider is configured AND strict warning in 4.6 on mapping page

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.6
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      1. If user configures profile settings to enable mapping, and then goes to 'Map these contacts' from search results (civicrm/profile/map&map=1&gid=1&reset=1) - a fatal smarty error is produced (below). We should trap this error and put up a message instead:

      "You need to configure a Mapping Provider before using this feature (Administer > System Settings > Mapping and Geocoding)."

      Warning: Smarty error: unable to read resource: "CRM/Contact/Form/Task/Map/.tpl" in /srv/buildkit/build/wp45/wp-content/plugins/civicrm/civicrm/packages/Smarty/Smarty.class.php on line 1094

      2. I'm seeing a strict warning in 4.6 when I got to the 'map these contacts' URL (screenshot attached).

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: