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

Upload image not working in On-Behalf Profile configured for contribution.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.7
    • Fix Version/s: 4.3.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Contributed By BOT(Backoffice Thinking)
      Steps to replicate-
      1)Add a Image Url field under "On Behalf Of Organization" profile.
      2)Configure this profile to be used in one of the contribution.
      3)Fill in all the details with Image upload.
      4)Organization contact is being created but with no logo.

      Patch Applied-
      Made changes in CRM/Contribute/Form/Contribution/Confirm.php
      Here image_URL field was being handled for all other profiles configured for Contribution but was not being handled for OnBehalf Org profile.

      Webtest:
      Patch can be tested with below mentioned function in
      WebTest_Contribute_OnBehalfOfOrganization::testOnBehalfOfOrganizationWithImage

        Attachments

          Activity

            People

            • Assignee:
              ravish.nair Ravish Nair
              Reporter:
              webaccess Web Access
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: