Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
29 Sep 2012 at 11:19 UTC
Updated:
29 Jul 2014 at 21:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andreiashu commentedLet's see...
Comment #3
andreiashu commentedRemoved the double space from drupal_build_js_cache()
Comment #5
andreiashu commentedNeeded "git config core.filemode false"
Comment #6
andreiashu commented@alexpott: I tested the '?:' operator and it works as advertised - the following code prints out default:
Comment #7
nod_tagging
Comment #8
alexpottJust realised that actually whilst this does not need an update function to migrate the variable we should be deleting the old variable in an update function so it is not left lying around.
I tested the patch and it works as expected.
Comment #9
andreiashu commentedAttached new patch with the hook update. Thanks for the review!
Comment #10
alexpottThere's been some discussion around the namespace strategy for state key names on #1790920: Move cron_last, node_cron_last and common_test_cron to state system - the how to has been updated http://drupal.org/node/1787318
So in this instance we probably should change the key to
system.drupal_js_cache_filesComment #11
albert volkman commentedVariable name updated with system namespace.
Comment #13
albert volkman commentedForgot to update system_update_N() number.
Comment #14
alexpottPatch to bump system_update_N() number and fixes documentation. Looks good to go. Thanks for the work.
Comment #15
catchCommitted/pushed to 8.x, thanks!
Comment #16
sunWhy didn't we remove the 'drupal_' prefix in the state name?
That prefix was previously used to (poorly) namespace the variable name to a non-existing "drupal" extension. The proper extension namespace is 'system' now, so it should be removed.
Comment #17
albert volkman commentedHere's a patch for that.
Comment #18
sunThanks!
Comment #19
catchThanks! Committed/pushed to 8.x.