Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
migration system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2015 at 15:43 UTC
Updated:
9 Oct 2016 at 11:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
phenaproximaComment #2
phenaproximaMerged, with tests:
Comment #3
phenaproximaMentioned contributors from merged issues.
Comment #4
phenaproximaComment #5
phenaproximaMerged the following, and collapsed all the tests into a single monolith, since copying and pasting the same logic was getting really annoying.
Comment #6
phenaproximaMerged:
Comment #7
phenaproximaComment #8
phenaproximaComment #9
phenaproximaFixed a typo in the issue summary.
Comment #10
quietone commentedComment #11
quietone commentedRerolled. Getting errors in MigrateSystemConfigurationTest.php but let's see if there is anything else.
Comment #12
naveenvalechaComment #15
quietone commentedComment #16
quietone commentedReroll. Interdiff against #6.
How to handle system.filter, which has been moved to a container parameter?
Comment #17
quietone commented#16 is a bad patch.
Comment #19
quietone commentedFor now, removed the system.filter migration. Maybe that should be in a separate issue now that it is a container parameter?
Comment #20
quietone commentedComment #24
quietone commentedMoved the migration of filter_allowed_protocols to a separate issue, #2682229: Variable to container parameter: filter_allowed_protocols [d7]. It really is different from these 'simple' migrations.
Uploaded a new patch to remove filter_allowed_protocols from the test fixture.
Comment #25
benjy commentedJust a code style issue below, I think could be fixed on commit. RTBC.
Indent is wrong here.
Un-needed new line.
Comment #27
quietone commentedThe test is failing on system.mail. \Drupal::config('system.mail')->get() returns 'test_mail_collector' but it really contains php_mail.
Comment #28
quietone commentedAdded a check so that when 'system.mail' is being tested the actual config data is retrieved with getRawData so that overrides are avoided.
Comment #30
quietone commentedA bit of a cleanup only. The migration templates for action_settings, file_settings, system_image, system_image_gd, system_logging, system_maintenance and system_rss are the same for d6 and d7 and have been merged. action_settings has been moved to the action module, where d6_action_settings was. file_settings has been moved to the file module, where d6_file_settings was.
Comment #32
quietone commentedMerged the d6_system_site and d7_system_site templates.
Comment #33
quietone commentedComment #34
quietone commentedRestore accidentally removed blank line in MigrateUpgradeTestBase.php.
Comment #37
mikeryanComment #38
quietone commentedRerolled.
Comment #39
mikeryanLet's use assertSame() instead of the deprecated assertIdentical(). I know the corresponding D6 test has assertIdentical(), and it's out of scope to address that here, but let's not introduce deprecated uses in new files.
assertSame()
Otherwise this looks good - I'm ready to RTBC with the above changes.
Comment #40
quietone commentedChanged the assertions as per #39.
Comment #41
mikeryanThanks! Setting RTBC on the assumption the bots still pass...
Comment #43
quietone commentedRetested because the failures were not related to the patch. Passing again, so back to RTBC
Comment #44
alexpottCommitted and pushed ffde245 to 8.3.x and 9c705b8 to 8.2.x. Thanks!
As this is for migrate this is rc eligible.
Fixed on commit.