Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
text.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2025 at 22:33 UTC
Updated:
3 Dec 2025 at 13:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
smustgrave commentedComment #4
dcam commentedI left one question on the MR, but I didn't do a complete review because I realized how late it is and how tired I am. So I'm leaving the status at NR.
Comment #5
dcam commentedI left some comments on the MR.
I noticed some assertions that were migrated to Text module stats that don't seem to be necessary. For instance,
TextWithSummaryMigrateFieldFormatterSettingsTestseems to have a lot. Only 5 of the assertions were removed from the originalMigrateFieldFormatterSettingsTest. I couldn't figure out if these assertions that aren't related to text-with-summary fields are necessary or not. Was their inclusion intentional?Comment #6
smustgrave commentedThanks! I’ll keep assigned to myself and look tomorrow.
Comment #7
smustgrave commentedResponded to the feedback!
Comment #8
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 #9
smustgrave commentedMy friend the bot is acting up
Comment #10
dcam commentedI was kind of confused by the removal of the text-with-summary fields from the D7 fixture. After all, it's not like the field is being removed from D7. But I guess you have to do that because we wouldn't want to change the migration plugins to migrate D7 text_with_summary fields to text_long, right?
I double-checked the MR. I can't find anything else to give feedback about. So I'm going to RTBC it.
Comment #11
larowlanLeft some questions on the MR
Comment #12
catchI haven't actually reviewed the MR yet, but I think we can rewrite history because text long also existed then. So we're removing coverage of text_with_summary from the core tests (which would eventually live in the text_with_summary contrib module) but not the ability to migrate from text_with_summary to text_with_summary which will require installing the contrib module.
Comment #14
quietone commentedI also do not think that existing fields in the migrate drupal text fixture should be changed. All the fields were added for a reason and test a particular possibly Drupal 7 configuration. By changing them we risk losing test coverage for a configuration that can exist in the wild.
Any needed new fields should be added. And they should be added using a Drupal 7 site so that we are sure all the configuration is as D7 site would create and that the fixture works in a D7 site.
Comment #15
quietone commentedAlso, I still have my D6/D7 setups available. I can create the needed fields and update the fixture. I just need the details for the news fields. And I do wonder how they are different from the existing 4 text_long fields in the current fixture.
Comment #16
quietone commentedWait a minute. Now that I have had time to eat, I realize there is something wrong here. We only need to change migrations and migration tests if we are changing what the text_with_summary field migrates to in D11. I gather the plan is to deprecate text_with_summary in D11 and that is also when Migrate Drupal will be deprecated. So, both will be deprecated and migrate in core is not responsible for the migration to the new the destination, it will handled by a contrib module.
Checking the parent issue, that is what berdir and catch agreed to, See #3427095-18: [Meta] Deprecate text_with_summary and #3427095-19: [Meta] Deprecate text_with_summary. So, the migration and migration tests should remain unchanged.
Updating the title accordingly.
Comment #18
smustgrave commentedThank you @quietone for all the guidance in slack.
I kept the fixtures as is and believe I have a path forward with the deprecations when we get to the last step.
I did remove any text_with_summary assertions from the field module (there were a good number) and cloned those tests to the text module. So coverage is not lost here.
Comment #19
smustgrave commentedComment #20
xjm@smustgrave asked for feedback on the approach here.
I think the updated scope makes sense (it seems like the new test could move cleanly to contrib with Migrate Drupal without altering the coverage or the history of the migration under test).
That said, honestly I'd appreciate feedback from a Migrate maintainer to confirm that the updated decoupling here matches the goal.
Thanks!
Comment #21
quietone commentedWhen I changed the title I expected that all the migration work would move to a separate issue. Migrate is a 'special snowflake' and best reviewed separately. This is the way it is done for removing modules that are going to contrib. This just has an intermediate step of moving to a another core module first.
@smustgrave, apologies for any misunderstanding on this point.
Comment #22
smustgrave commentedReverted back
Comment #23
quietone commentedComment #24
smustgrave commentedResponded but that change is needed to fix a ckeditor multi line test. Seems like an oversight as the text with summary placeholder was type text
Comment #25
smustgrave commentedActually don't want to ping pong this I'll make a new ticket.
Comment #26
smustgrave commentedSchema change landed. @quietone mind looking again?
Comment #27
amateescu commentedReviewed the MR and it looks good to me, the changes are now cleanly scoped to use a different field type when we're not specifically testing
text_with_summary..Comment #28
smustgrave commentedThank you!
Comment #32
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!