Skip to content

[MDS-6761] Fix for signature not being able to change#3825

Open
asinn134 wants to merge 1 commit intodevelopfrom
mds-6761-signaturebox-cant-replace-signature-bug
Open

[MDS-6761] Fix for signature not being able to change#3825
asinn134 wants to merge 1 commit intodevelopfrom
mds-6761-signaturebox-cant-replace-signature-bug

Conversation

@asinn134
Copy link
Collaborator

@asinn134 asinn134 commented Feb 7, 2026

Objective

MDS-6761

  • Updated filepond-plugin-file-encode to version 2.1.14 to fix this error

can't access property "data", base64Cache[item.id] is undefined

I found only PartySignatureUpload file uses this library. I tried testing some other file upload areas too just in case and didn't notice any breaking bugs from version upgrade.

  • Adjusted how the FilePond file property is feed data in the PartySignatureUpload file.


return (
<FilePond
files={props.signature ? [props.signature] : files}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way this was previously setup meant props.signature would override the files state with the old signature even after the user clicks the X button to have it removed.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2026

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_core-web'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant