Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.23
-
Fix Version/s: 4.7.25
-
Component/s: Backdrop Integration
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
I installed the CiviCRM-Stripe extension and was testing it when I noticed that the Javascript file was not attaching correctly. It was trying to pull from a Drupal path (`/sites/default/files/...`) rather than a Backdrop path (`/files/...`). In inspecting the code, I see it is using this function to generate the URL:
`CRM_Core_Resources::singleton()->getUrl`
My Resource URLs on this site are set up using the portable tokens, so (for example), the "Extension Resource URL" is `[civicrm.files]/ext/`.
The strange thing is that the Extension itself is found and installed in the same directory it should be trying to pull the Javascript file from.