Closed (fixed)
Project:
PDFa11y
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2026 at 23:01 UTC
Updated:
27 Jun 2026 at 18:10 UTC
Jump to comment: Most recent
I'd like to be able to have the check_on_upload setting enabled, but not have pdfa11y be scanning during a migration that creates media. Any kind of exception thrown or parsing slows down the migration significantly.
Ideally we would queue those items to be scanned.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dave reidComment #5
joshuamiThis looks great and makes a ton of sense. Question though, what would you think of moving this to below the PDF check so that the only queued checks would be for actual PDFs?
That's at line 144.
I'd love to get this into the next release as it might be a blocker to some bigger projects using it alongside migrations.
Comment #6
dave reidI wanted to short circuit and make it as quick as possible without having to do more loading. I think the queue worker also does the same check too, so it felt safe to defer in order to minimally add more time to a migration.
Comment #7
joshuamiFair. It's low cost either way, so I trust your judgement. Merging. It will go in the next release, which I'm hoping to cut in the next day or two.