Needs work
Project:
Migrate Plus
Version:
8.x-4.x-dev
Component:
Plugins
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2018 at 17:47 UTC
Updated:
19 Sep 2025 at 19:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
heddnWe'd need to add a suggestion to the composer.json of the project and do a check in the process plugin's constructor if the parser class is available. Plus tests. But great suggestions.
Comment #3
ressaSounds great. I have alerted the author about this issue, to hear if he wants to create the plugin himself.
Comment #4
ressaHere is a first patch. No tests, I hope somebody else can help out with that.
Comment #5
ressaComment #7
ressaSample module, to speed up testing the plugin (rename from migrate_pdfs.tar_.gz to migrate_pdfs.tar.gz after download).
Comment #8
ressaCan somebody else help with debugging why the patch fails? It works fine locally ...
Comment #9
heddncomposer.json files can't be patched and assume the new requirements are downloaded. But that also brings up a good point. We need to add it as a suggestion.
Put some of this into the constructor. And see if we can somehow silently fail plugin discovery if the pdf parser code isn't available.
Comment #10
joseph.olstadsmalot/pdfparser is still actively supported.
There's a new release: https://github.com/smalot/pdfparser/releases/tag/v2.12.1
Probably could re-test the patch now.