Repository navigation
FOUR-34454 | A Record List Component Deletes Signature Data - #1945
Open
mcraeteisha wants to merge 1 commit into
Open
mcraeteisha wants to merge 1 commit into
mcraeteisha wants to merge 1 commit into
Conversation
Pass the Add modal element with the hidden event so listeners can target only its controls. Safely handle empty content arrays when checking file values.
Contributor
|
QA server K8S was successfully deployed https://tenant-1.ci-eeb5cf3274.engk8s.processmaker.net |
eiresendez
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Ticket: FOUR-34454
Regression from FOUR-32231 (PR #1920): closing the Record List Add modal emitted global
record-list-add-modal-hidden, and package-signature cleared every mounted Signature. Adding a Record List entry wiped unrelated signature values (e.g. parent fields and loop signatures) while keeping signatures on the new row.Root cause on the screen-builder side:
handleHideAddModalinform-record-list.vueemitted the event with no target, so listeners could not tell which Add modal closed.Solution
screen-builder
form-record-list.vuehandleHideAddModal, emitrecord-list-add-modal-hiddenwith{ modalEl }fromthis.$refs.addModal.$el(null-safe).isWebEntryFile, use optional chaining (content[0]?.file) so empty or malformed array cell values do not throwCannot read properties of undefined (reading 'file')when the Record List table re-renders (e.g. while drawing signatures).How To Test
TypeError: Cannot read properties of undefined (reading 'file')fromisWebEntryFile.ci:package-signature:bugfix/FOUR-34454
ci:deploy
Code Review Checklist