CRM-7514 Incorrect file field url in profile form notification email

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      If a profile form contains a file field and the notification email is enabled for that profile. The link for the file field in the email is incorrect.

      It looks like:

      civicrm/file?reset=1&id=2&eid=373917

      where as it should look like

      http://www.example.com/civicrm/file?reset=1&id=2&eid=373917

      Look like $base_url is not being appended to the field field url

        Attachments

          Activity

          [CRM-7514] Incorrect file field url in profile form notification email
          Donald A. Lobo added a comment -

          Chang:

          can you test this patch, you can get the patch for 3.4 on the fisheye link. Should apply fairly easily to the 3.3 branch

          Chang Xiao added a comment -

          Looks like it is working

          Alex Scott added a comment -

          Just to let you know that we tested on a fresh v3.3.5 with Drupal 6, and the patch works good.

            People

            • Assignee:
              Chang Xiao
              Reporter:
              Chang Xiao

              Dates

              • Created:
                Updated:
                Resolved: