-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
PdfWriterThe PdfWriter component is affectedThe PdfWriter component is affectedis-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFworkflow-formsFrom a users perspective, forms is the affected feature/workflowFrom a users perspective, forms is the affected feature/workflow
Description
If a form text field is linked to multiple locations in a PDF, PdfFileWriter.updatePageFormFieldValues fails to set the value.
If writer_annot contains a link to a Parent object, the value in that should object should be set.
writer_annot_parent = page['/Annots'][j]['/Parent'].getObject()
https://github.com/mstamy2/PyPDF2/blob/a4279cff969c38a346a29aa0d3174a8b7bf08bbe/PyPDF2/pdf.py#L366
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PdfWriterThe PdfWriter component is affectedThe PdfWriter component is affectedis-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFworkflow-formsFrom a users perspective, forms is the affected feature/workflowFrom a users perspective, forms is the affected feature/workflow