Problem/Motivation
MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x.
Proposed resolution
Use \Drupal\migrate_drupal\Annotation\MigrateField instead.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | 2969902-21.patch | 2.62 KB | jofitz |
| #21 | interdiff-19-21.txt | 849 bytes | jofitz |
| #19 | 2969902-19.patch | 2.18 KB | jofitz |
| #19 | interdiff-17-19.txt | 542 bytes | jofitz |
| #17 | 2969902-17.patch | 1.65 KB | jofitz |
Comments
Comment #2
mihai11 commentedComment #4
mihai11 commentedUpdate after test fail.
Comment #6
amateescu commentedThis part of the interdiff is not correct, we shouldn't add back the deprecation message to the trait :)
Comment #7
amateescu commentedCleaning up tags.
Comment #8
mihai11 commentedRemoved the deprecation message from the trait.
Comment #10
mihai11 commentedRerolled the patch.
Comment #11
amateescu commentedLooks great :)
Comment #12
borisson_I was just reviewing this issue as well, I came to the same conclusion as @amateescu! RTBC++ :)
Comment #13
alexpottIt's super strange to be removing an @expectedDeprecation.
This class is deprecated too. It's okay for deprecated code to use deprecated code :)
Can we get a patch that just removes the deprecation?
Comment #14
amateescu commented@alexpott, I also saw this comment in another issue, so I'm wondering: when a patch makes a test method not trigger a deprecation message anymore, shouldn't that patch also remove the
@expectedDeprecationannotation?Comment #15
alexpottNot if the test is a legacy test. legacy tests are there to test deprecated code and will be removed at the same time as deprecated code.
Comment #16
amateescu commentedRight, that makes sense!
Comment #17
jofitzCreating the patch requested by @alexpott in #13.
Comment #19
jofitzSet CckFieldBackwardsCompatibilityTest as a legacy test.
Comment #20
alexpott@Jo Fitzgerald can you add
@expectedDeprecationtoo?Comment #21
jofitzAdded @expectedDeprecation.
Comment #22
Anonymous (not verified) commentedI have reviewed this patch and it looks good to me :-)
Comment #24
MixologicTestbot Snafu.
Comment #25
alexpottCommitted and pushed beae7599dc to 8.6.x and 71ae9121fc to 8.5.x. Thanks!
Credited @amateescu and myself for reviews that materially affected the patch. Thanks @davemckain and @borisson_ also for the reviews.