Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Running "drush make build-spark.make /path/to/wwwroot" will run drupal-org.make and it is supposed to download the json2.js within the libraries folder (/path/to/wwwroot/profiles/spark/libraries/json2/)
Proposed resolution
A change is needed in drupal-org.make, line 129, to:
libraries[json2][download][url] = https://raw.github.com/douglascrockford/JSON-js/master/json2.js
So we can download the correct Javascript library.
Comment | File | Size | Author |
---|---|---|---|
#2 | spark-fix-to-json2-library-1946274-1.patch | 625 bytes | jmcoimbra |
Comments
Comment #1
jmcoimbra CreditAttribution: jmcoimbra commentedUpdating title to avoid spam filter
Comment #2
jmcoimbra CreditAttribution: jmcoimbra commentedComment #3
jmcoimbra CreditAttribution: jmcoimbra commentedSorry guys, I am new contributing to Drupal. =)
I don't know the flow of this fix... I think someone other then me must test it.
Thanks
Comment #4
jmcoimbra CreditAttribution: jmcoimbra commentedComment #5
jmcoimbra CreditAttribution: jmcoimbra commentedComment #6
Gábor HojtsyDid github change URL patterns recently? I see currently the new URL works better, but the old one used to work too.
Comment #7
Gábor HojtsyLooked at how the raw URL is produced on github and it indeed now points to this new URL. So committed this and fixed the whitelist pattern at http://drupal.org/node/1404070 to allow for this URL form too for this lib.
Comment #8
jmcoimbra CreditAttribution: jmcoimbra commentedHey, thanks!
The first contribution we never forget ;-)