Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.22
-
Fix Version/s: 4.7.24
-
Component/s: CiviContribute
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
Steps to reproduce:
- Begin with CiviCRM 4.7.22 (master) on Drupal 7
- Go to /civicrm/admin/contribute/managePremiums?reset=1
- Add Premium
- Name: "Foo"
- Premium Image: "Upload from my computer" > (browse to upload an image file)
- Minimum Contribution Amount: 5
- Market Value: 5
- Save
- Foo > Edit
- Expect and observe that the values for "Image URL" and "Thumbnail URL" both begin with /sites/default/files/civicrm
- Make no changes to the form
- Save
- Foo > Edit (again)
- Expect the same values for "Image URL" and "Thumbnail URL"
- Observe that these values now begin with /files/civicrm instead of /sites/default/files/civicrm
Implications:
- Any edits to premium products will break the display of images
Workaround:
- When editing a premium product, prepend both URL fields with /a/a
Attachments
Issue Links
- links to