Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
tour.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2021 at 16:22 UTC
Updated:
16 May 2022 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bnjmnmComment #3
andypostClosed duplicate #3261249: Remove deprecated tour.module functions
Comment #4
andypostInitial attempt to clean-up
Comment #5
andypostfix cs
Comment #7
paulocsComment #8
paulocsLets see what tests bots will say.
Comment #10
paulocsLet me see if I can fix the errors.
Comment #11
paulocsNew patch.
Comment #12
quietone commentedJust adding diff between #5 and #8
Comment #13
quietone commentedIs quoting all these strings necessary? AFAIK, YAML should handle that just fine.
Comment #14
paulocsI did not do an investigation to check the motivation but there are some tests that fail when the quotes are not added. And the error complains only of those keys that don't have quotes.
For example the
JsonApiUpdatePathTestor theMigrateDrupalUpdateTestthat failed in patch #5.Comment #15
longwaveNot sure we can just remove this comment without doing the deprecation that it suggests?
Comment #16
catch@paulocs could you do a version of the patch without the quoting, just so we can see those test failures in isolation from the rest?
The removal of the @todo in #15 does seem unrelated to the rest of the changes since we're not actually changing anything in that class, although it's better to have an issue without a @todo than vice versa.
Comment #17
andregp commentedHere is a patch without the quotes, expected to fail, as suggested by @cathc .
Comment #18
catchIMO we should go ahead and remove this hunk from the patch - the issue it points to is still open, but given this passes tests without the config changes, looks RTBC to me otherwise.
Comment #19
andregp commented@catch I am a bit confused.
The last patch #17 already removes the comment below from TourTipPluginInterface
And when you said:
I think it points to itself. https://drupal.org/node/3195193 is this issue here.
Comment #20
catchHmm OK, I think it is me who's confused.
However this issue isn't deprecating or removing the method on TourTipPluginInterface so I think we should open a follow-up to do that.
Comment #21
andregp commentedSo I created a follow-up for this issue and updated the link at TourTipPluginInterface.php to point to that issue.
Here is the follow-up #3276336: Move methods from TourTipPluginInterface and deprecate this interface. and the new patch.
Comment #22
andregp commentedComment #23
catchThanks looks good now.
Comment #25
catchRandom test failure. Restoring status.
Comment #27
andregp commentedAnother random test failure. Restoring status.
Comment #28
lauriiiIs this the correct issue? That issue was closed as a duplicate for this.
Comment #30
lauriiiUpdated on commit to reference #3276336: Move methods from TourTipPluginInterface and deprecate this interface..
Committed f9bb5b8 and pushed to 10.0.x. Thanks!