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.
modules/system/system.install:1728: update_variables_to_config('system.authorize'
Thanks in advance for helping many hands to make light work!
See #2181257: [meta] Variables to config migration [d7] for instructions
Comment | File | Size | Author |
---|---|---|---|
#22 | 2130577-22.patch | 8.34 KB | phenaproxima |
#19 | 2130577-19.patch | 8.4 KB | phenaproxima |
#18 | 2130577-18.patch | 8.49 KB | phenaproxima |
#15 | 2130577-15.patch | 8.33 KB | phenaproxima |
#14 | 2130577-14.patch | 239.81 KB | phenaproxima |
Comments
Comment #1
fastangel CreditAttribution: fastangel commentedworking on this.
Comment #2
fastangel CreditAttribution: fastangel commentedI can't find a variable to map with D6. The unique variable that exist in d8 is filetransfer_default.
Comment #3
chx CreditAttribution: chx commentedThe whole authorization system is a D7 invention.
Comment #4
eliza411 CreditAttribution: eliza411 commentedMoving to the core queue to consolidate issues now that we're doing all the work there.
Comment #5
eliza411 CreditAttribution: eliza411 commentedComment #6
eliza411 CreditAttribution: eliza411 commentedComment #7
eliza411 CreditAttribution: eliza411 commentedComment #8
samhassell CreditAttribution: samhassell commentedComment #9
samhassell CreditAttribution: samhassell commentedfiletransfer_default is the only config item listed in system.authorize.yml. It doesn't have a default listed - its NULL by default.
Over in [6598728] I can see that the filetransfer_default variable was renamed from authorize_filetransfer_default during its cmi conversion, so this needs to be reflected in the patch.
The default value for filetransfer_default in D7 and D8 is NULL. Other values are provided by hook_filetransfer_info(), such as system_filetransfer_info() providing 'ssh' and 'ftp'. It would be good to have the tests working using either ssh or ftp, but I can't get that working at the moment.
Comment #10
samhassell CreditAttribution: samhassell commentedpatch attached. I've kept the names of the patch the same as the name of the destination file 'system.authorize.yml'. So theres not much mention of 'config' or 'settings'. Can reroll if it should be renamed.
Test is passing. It uses 'ssh'.
Comment #11
benjy CreditAttribution: benjy commentedThank you! Committed: 773b241
Comment #13
jcost CreditAttribution: jcost commentedWill need to be submitted again to Core since moving from sandbox.
Comment #14
phenaproximaRerolled against 8.0.x, with a test.
Comment #15
phenaproximaWhoops -- maybe don't include all the modifications to the dump files this time!
Comment #18
phenaproximaLet's try that again.
Comment #19
phenaproximaMinor test cleanup.
Comment #21
phenaproximaBlocked by #2495755: Create MigrateDrupal7TestBase.
Comment #22
phenaproximaComment #23
phenaproximaNeeds to be merged into the parent issue.
Comment #24
phenaproximaMerged into the parent issue.