Reviewed & tested by the community
Project:
Strongarm
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Nov 2012 at 11:08 UTC
Updated:
26 Apr 2017 at 04:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
naxoc commentedI can confirm this. It is because core will change the hash-path to the js-folder, so I don't think there is much we can do about it.
For explanation, here is a diff from drush (ignore the weights - that is not the issue). This without having touched anything in the database - just installing the site on a dev-server.
Comment #2
thamasIs there a way to exclude the javascript hash-path?
Comment #3
estoyausenteSame problem, but I don't know the solution...
Comment #4
ovidenov commentedSame problem, anyone knows a solution ?
Comment #5
rodrigoaguileraI ended up not exporting that variable, set it on install if you are installing a profile or do a hook_update_N function to set it to the desired value.
Comment #6
estoyausente@rodrigoaguilera We configure the language in the install using profiling but anyway this is a bug (or maybe a feature request).
Comment #7
stefan.r commentedThis may be a nice to have.
Comment #8
claudiu.cristeaI see no solution other than intercepting the variables before they are rendered for export. But this means an API change. Now Strongarm allows this by implementing
hook_strongarm_export_render_alter().Comment #9
claudiu.cristeaOops! When such a variable is reverted using #8 I'm getting:
That means we still have to keep the
javascriptkey in the object but export it everytime as empty string.Comment #10
dmsmidt#9: Nice, works for me
Comment #11
claudiu.cristeaGreat. Then why not RTBC? :)
Comment #12
dmsmidtAlmost RTBC :-)
Nice, just reading up on: https://www.drupal.org/coding-standards/docs#defgroup
So this is for http://www.drupalcontrib.org?
Add dot behind the tekst instead of /.
Comment #13
claudiu.cristea@dmsmidt,
That is used by the API module. To group various functions and classes as topics. http://www.drupalcontrib.org uses the API module so it will benefit from this docs definition but only if Strongarm module is included there. But right now is not there.
Comment #14
claudiu.cristeaComment #15
danepowell commentedWorks great for me.
Comment #16
vasikeI can confirm the solution from #13.
Comment #17
claudiu.cristeaThen we need to let it as RTBC... maybe the module maintainer will finally commit this :)
Comment #18
gaydamaka commentedWhere return is not necessary, it is better to add a break.
Comment #19
renrhafAny news about this patch being merged ?