Problem/Motivation
Not entirely sure what's going on here but we recently upgraded from D9.5.3 to D9.5.11 and now we are getting this error on any page with a fillpdf link (from a view):
"No FillPDF Form was specified in the query string, so failing."
but also, Views fields which "output field as a link", which define a fillpdf link in the view, those links no longer show up.
The error and the missing link seem to come from FillPdfLinkManipulator::parseLink() which is called from views doing an access check on links (possibly this is new since 9.5.3?). The link check though is triggered by the field being rewritten as a link; but this isnt the link being checked. As a result, there is no $query['fid'] and the exception is thrown.
I added this at the top of that method to ensure i am only testing fillpdf links and this solves the issue:
if (!isset($query['fid'])) {
$context['entity_ids'] = [];
return $context;
}
I suspect something else going on here that may be core related, but so far this only seems to be an issue with fillpdf links.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes