Skip to content

[stable31] fix: handle undefined signers in getAllFiles filter#6043

Merged
vitormattos merged 1 commit intostable31from
backport/6041/stable31
Dec 9, 2025
Merged

[stable31] fix: handle undefined signers in getAllFiles filter#6043
vitormattos merged 1 commit intostable31from
backport/6041/stable31

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6041

Add optional chaining to prevent TypeError when value.signers
is undefined in file filtering by signer_uuid. This resolves
the error 'can't access property "filter", value.signers is
undefined' that occurred when navigating to sign PDF page.

The issue occurred when files without initialized signers array
were being filtered, causing the application to crash on the
SignPDF view.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 9, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (31) milestone Dec 9, 2025
@vitormattos vitormattos merged commit d8ded5c into stable31 Dec 9, 2025
56 checks passed
@vitormattos vitormattos deleted the backport/6041/stable31 branch December 9, 2025 01:50
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant