Closed (fixed)
Project:
Feeds
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2020 at 17:23 UTC
Updated:
17 Jul 2024 at 11:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jcnventuraComment #2
andypostComment #3
megachrizI wonder though when it is a good time to remove it. It has only be deprecated since about half a year now. Maybe when Drupal 8.8 support stops? (Assuming Feeds won’t reach a stable D8 release this year - I’m planning to update the roadmap as right now I’ve only planned a few issues ahead)
Comment #4
andypostBtw no usage in contrib found http://grep.xnddx.ru/search?text=FeedsAnnotationFactory
Comment #5
megachriz@andypost
What’s actually being deprecated is to use annotation for declaring dependencies on services in Feeds plugins:
See https://www.drupal.org/node/3097376
So I don’t expect any direct usage of the class itself in contrib code.
Comment #6
jcnventura@MegaChriz, Can you check tests/src/Kernel/Feeds/Processor/EntityProcessorBaseTest.php lines 79 to 82 if that test is not somehow building this annotation in code?
Comment #7
megachriz@jcnventura
Thanks for pointing me at that. This should be removed from \Drupal\Tests\feeds\Kernel\Feeds\Processor\EntityProcessorBaseTest:
Comment #8
sahana _n commentedDeleted src/Plugin/Type/FeedsAnnotationFactory.php from the repo and removed
From \Drupal\Tests\feeds\Kernel\Feeds\Processor\EntityProcessorBaseTest:
Please review the patch.
Comment #10
megachrizSetting this to "Postponed" as changing this now I think is too early.
Comment #11
jcnventuraAnd the patch is incomplete.. It only contains 2 out of the 3 items in the checklist in the summary,
Comment #12
megachrizMarking this issue as a stable release blocker.
Comment #15
alina.basarabeanu commentedPull request created for all the changes.
The upgrade status is complaining about this deprecated class.
Comment #16
megachrizI did not remove it yet, because the implementation of Paragraphs has not yet been adjusted to work without the deprecated class:
https://git.drupalcode.org/project/paragraphs/-/blob/8.x-1.x/src/Feeds/T...
Should I remove it now and then create a new release, then people who have Paragraphs installed probably will get a fatal error on the mapping page.
Comment #17
alina.basarabeanu commentedMaybe you should create a new issue for the Paragraphs project to warn them about the removal.
Comment #18
megachrizI've updated the MR and I created an issue for Paragraphs: #3454863: Remove usage of deprecated FeedsAnnotationFactory.
Comment #19
joelpittetYes this has had a deprecation notice for some time. Time to let it go!
Comment #21
megachrizThe FeedsAnnotationFactory has now been removed!