Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
history.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2025 at 04:45 UTC
Updated:
9 Oct 2025 at 14:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mstrelan commentedWe could possibly move the usage of these to history.module at the same time, it's a bit odd the way it is, but potentially makes it easier to review.
Comment #4
smustgrave commentedCould we go ahead and move it? MR is line change is pretty manageable so adding more won't be difficult. Just seems goal is to untangle history from comment.
Comment #5
mstrelan commentedOk I've moved everywhere the libraries were attached, and associated code. This makes a much larger diff stat, but it has to be either piecemeal like before or all together. A lot of the larger diff stat is for the duplicated test for the decorated service. Can't really avoid that either without losing test coverage. Could probably refactor the tests a bit but not much point since it's moving to contrib and it's easier to review if it doesn't change.
Comment #6
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 #7
mstrelan commentedComment #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
nicxvan commentedTook a quick look, looks mostly right. Another test conflict likely from the attribute conversion.
Comment #10
mstrelan commentedResolved merge conflict due to annotations to attributes conversion in tests. Updated the new test class to also use attributes.
Comment #11
smustgrave commentedDoes the .libraries need a different deprecated format?
Comment #12
mstrelan commented@smustgrave I don't think so, I followed the Asset Libraries section of How to deprecate.
Comment #13
smustgrave commentedThat's my mistake I think I was getting crossed on another ticket for route deprecations. But think deprecations have to be removed in 12 right. If the plan is to remove history in D12.
Comment #14
smustgrave commented@mstrelan you're probably good to self RTBC after that as the rest seems like good deprecations.
Comment #15
mstrelan commentedUpdated to 12.0.0 and RTBC as per #14.
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
smustgrave commentedFixed conflict in CommentNewIndicatorTest
Comment #19
catchCommitted/pushed to 11.x, thanks!