Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2024 at 10:39 UTC
Updated:
2 Dec 2025 at 08:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
benjifisherComment #3
quietone commentedComment #4
quietone commentedComment #6
quietone commentedComment #7
quietone commentedWhat needs to happen to the css in stable 9, item 1 of the remaining tasks.
Comment #8
quietone commentedThe CSS in stable9 can be removed in when this module is removed from core. The same happened for tour #3422600: Remove Tour module
Comment #9
quietone commentedIs there any else to do here?
Comment #10
smustgrave commentedThe last file is that needed? To install path_alias?
Comment #11
quietone commentedThat test installs path_alias in a kernel test but does not install the entity schema which Migrate Drupal UI seems to need but doesn't have a dependency on.
Comment #12
benjifisherNW for a code comment. (See my long-winded explanation on the MR.)
I am adding the tag for a followup (also in my MR comment). I will create the followup issue unless you do it first.
Comment #13
quietone commented@benjifisher, thanks for the details of why the entity schema is needed. I admit my earlier reply lacked detail and could be seen as, well not kind. It is a reminder to take more care after a disturbed night of sleep.
I've copied the comment. And that too I should have looked for in the issue.
Linting has passed so setting this to NR.
Comment #14
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #15
quietone commentedConflict due to using attributes for @group.
Comment #16
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #17
quietone commentedComment #18
smustgrave commentedPer #3544948: Use #[IgnoreDeprecations] instead of #[Group('legacy')] legacy groups is incorrect and #[IgnoreDeprecations] should be used.
Comment #19
quietone commentedUpdated for #18
Comment #20
dcam commentedThe current changes look good to me. Thank you for the debugging and explanation of the
ResolvedLibraryDefinitionsFilesMatchTestchange.The only thing I noticed is that item 6 of the Remaining Tasks is to deprecate libraries only used by the module. The module has one library that's only used by itself. Does that need to be deprecated before this can be RTBC or does that have to wait since
stable9is overriding it? I don't see any discussion about it.Comment #21
longwaveHonestly I think we should just drop that library without deprecation or replacement, it's a small amount of CSS that is very specific to this module and I don't see why we need to go through the deprecation dance for it.
Comment #22
quietone commentedBased on the comment by longwave I am setting this back to needs review.
Comment #23
smustgrave commentedBelieve feedback for this one has been addressed
Comment #24
benjifisher+1 for RTBC
I am looking at the remaining tasks in the issue summary, and reviewing the comments.
On the MR, I wrote,
On second thought, calling
installEntitySchema()in thesetUp()method is a bad idea. When we removemigrate_drupal_ui, we will want to remove the call toinstallEntitySchema()fromtestCoreLibraryCompletenessDeprecated()but keep it intestCoreLibraryCompleteness(). Any other changes I might want to make to that test class are unrelated to this issue.That raises the question: how will we remember to remove the line
$this->installEntitySchema('path_alias');, added in this issue, when we actually remove themigrate_drupal_uimodule? Should we add a code comment now? Or is it more effective to add a comment to #3522601: [meta] Tasks to remove Migrate Drupal UI module?Now for the Remaining tasks listed in the issue summary.
Is this thorough enough?
We do not need to remember to update the PHPStan baseline. The tests will remind us.
How will we remember to update
stable9.info.ymland remove the corresponding CSS file? (The CSS file is already mentioned in the issue summary.) Perhaps another comment on #3522601?I do not think we need to worry about the PHPStan cache.
The
lifecycle_linkadded tomigrate_drupal_ui.info.ymlby the MR and the draft change record have links to the non-existent anchor https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol.... What do we want the new section to say? Perhaps we should draft the text in the comments here so that we are ready to update that page when we fix this issue and publish the change record.Comment #25
quietone commentedFor the first point, I think a comment on the removal issue is sufficient. So, I have added an item in #3522601: [meta] Tasks to remove Migrate Drupal UI module to remove the lines from testCoreLibraryCompletenessDeprecated(). And added another item to #3522601: [meta] Tasks to remove Migrate Drupal UI module for stable9.info.yml.
Yes, that search looks sufficient to me.
For the docs, I added Migrate Drupal UI to the documentation page. It will need updating when this is committed to correct the tense but at least the link will work. It should probably say that the community can move it to contrib but my words aren't flowing this late in the day. I tagged this for doc updates.
Comment #26
benjifisherThe anchor on Deprecated and obsolete extensions is
#s-migrate-drupal-ui(hyphens, not underscores).I updated the change record and added a suggestion to the MR. Back to NR.
Comment #27
quietone commented@benjifisher, thanks.
Comment #28
benjifisher@quietone: I am glad to do my part. Thanks for the quick fix. Back to RTBC.
Comment #29
benjifisherThere is a failing test: #3547493: [random test failure] MediaLibraryTest::testButton.
Looking at the pipeline, I do not see an option to re-run the failing test suite. I tried logging out of GitLab and logging in again.
Comment #30
benjifisherRe #29: the step I was forgetting was to give myself push access to the issue fork. I re-ran the failing test suite, and now the tests are green.
I am also updating the Remaining tasks in the issue summary.
Comment #31
smustgrave commentedOut of curiosity how will this module operate in contrib? Just for an example if comment module is deprecated and also moved to contrib. Will this module just require comment from contrib space or have to update its fixtures?
May be a dumb question
Comment #32
benjifisherThere are no plans to create contrib versions of
migrate_drupalnormigrate_drupal_ui.See @quietone's comment #25 on this issue.
P.S. Or see the related issue #3371229: [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL.
Comment #33
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!
Tagging for 12.0.0 release notes.
Comment #38
andypostThis commit broke pipelines https://git.drupalcode.org/project/drupal/-/pipelines
Comment #39
catchReverted for now - leaving needs work. Looks like some tests missing the skip deprecation attribute
Comment #44
godotislateAdd the missing IgnoreDeprecations attribute to the Migrate Drupal UI tests in the contact module. https://git.drupalcode.org/project/drupal/-/merge_requests/13842
Comment #45
benjifisherIt is too bad that we did not see the problem when running pipelines for the original MR.
The new MR passes tests. I confirmed that the six tests updated in the MR are the same tests that generated deprecations in https://git.drupalcode.org/project/drupal/-/pipelines/660073. (There were some other failures in that pipeline. I did not look into those.)
Thank you, @andypost and @godotislate for reporting and fixing the deprecations.
Comment #46
catchOK let's try that again. Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!
Comment #52
gábor hojtsy