Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
forum.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Nov 2014 at 10:50 UTC
Updated:
13 Sep 2023 at 11:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
larowlanComment #2
larowlanDone
Comment #3
larowlanComment #4
andypostI don't think it's disruptive, and already marked as deprecated
Comment #5
bertramakers commentedNote that this method has only been marked as deprecated in #2353013-10: Remove taxonomy_term_load_parents_all from taxonomy/taxonomy.module, so not that long ago. But I agree that the change is not that disruptive.
Doesn't really make much sense to have a new method in D8 if it's already deprecated anyway.
Comment #6
mile23I'm not so sure we should remove convenience methods like this, but reviewing anyway.
The patch in #2 still applies, but running unit tests leads to this error:
Comment #7
mile23At this point in the release cycle, this should be marked as to be removed before 9.0.0.
Comment #8
mile23Needs a reroll.
Comment #9
madhavvyas commentedPatch re-rolled comment 2
Comment #11
mile23Rescoping a little bit here so we're properly marking the deprecation.
The patch in #9 applies. Here's some review:
Entity manager is deprecated, so just get the entity storage manager service for the entity type.
We can't delete the method yet, since it's deprecated for removal in d9.
Comment #16
ashishdalviMarking issue for Drupal Mumbai Code Sprint
Comment #17
andypostbtw I think better to move it out of storage handler back to forum manager and convert to entity query, this way it will be independent from storage
maybe it needs follow-up? @larowlan any thoughts?
Comment #21
mikelutzComment #22
imalabyaThe patch doesn't apply anymore. Added a Reroll tag.
Comment #23
mikelutzRewriting from scratch to modern standards.
Comment #24
mikelutzUpdating Issue title and Summary.
Comment #25
berdirLooks good. The test isn't very explicit as it just compares the two calls but I think that's enough for this simple deprecation.
Comment #27
catchCommitted 04051f2 and pushed to 8.8.x. Thanks!
Comment #29
quietone commentedPublish change record