Closed (fixed)
Project:
Janrain Social Login
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
13 May 2010 at 21:12 UTC
Updated:
28 May 2010 at 04:00 UTC
If Optimize JavaScript Files is enabled in the site's Performance settings, then RPX's JavaScript gets all corrupted in the footer JavaScript file of each page of the site.
Attached is a screenshot of the corruption (left) and the same page's JavaScript file (right) when RPX's JavaScript isn't loaded on the page.
At the bottom of the screenshot, you'll see what the JavaScript link looks like from RPX when it isn't combined using Optimize JavaScript Files and you can see that it has a slash at the beginning that shouldn't be there.
| Comment | File | Size | Author |
|---|---|---|---|
| RPX_Error_20100513a.png | 228.8 KB | gregarios |
Comments
Comment #1
gregarios commentedHere is the problem: You can't use
drupal_add_jsto reference external JavaScripts the way you've done it, in Drupal 6.(See line 521 of your
rpx.modulefile.)Comment #2
nrambeck commentedI found this bug this morning and fixed it. It was only out in the wild 24-48 hours so this would only affect anyone who downloaded the dev release on May 12 or 13. Thanks.