FOUR-32798: Preserve Record List collection configuration - #1931
Open
eiresendez wants to merge 1 commit into
Open
FOUR-32798: Preserve Record List collection configuration#1931eiresendez wants to merge 1 commit into
eiresendez wants to merge 1 commit into
Conversation
screen-builder
|
||||||||||||||||||||||||||||||||||||||||
| Project |
screen-builder
|
| Branch Review |
task/FOUR-32798-FOUR-32865
|
| Run status |
|
| Run duration | 09m 36s |
| Commit |
|
| Committer | Eleazar Resendez |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
2
|
|
|
0
|
|
|
19
|
|
|
7
|
|
|
387
|
| View all changes introduced in this branch ↗︎ | |
Tests for review

ValidationRules.spec.js • 1 failed test • CI - Chrome
| Test | Artifacts | |
|---|---|---|
| Validation Rules > Validations should be skipped for readonly fields |
Test Replay
Screenshots
|
|

FileDownload.spec.js • 1 failed test • CI - Chrome
| Test | Artifacts | |
|---|---|---|
| File Download > Can download a single file |
Test Replay
Screenshots
|
|
Contributor
|
QA server K8S was successfully deployed https://ci-0f17f34122.engk8s.processmaker.net |
Contributor
Author
|
Hi @nolanpro I think that Screen Builder CI/CD appears unstable today: this PR failed across 3 attempts in unrelated Cypress specs, including identical blank-page failures in Computed Fields and Validation Rules, plus a separate File Download assertion failure. The PR-specific tests remain green, but these E2E failures caused coverage and scan to be skipped; the separate QA build, deployment, and PHPUnit workflow completed successfully. |
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 & Reproduction Steps
A Collection-backed Record List can lose its Data Selection, selected single field, and configured columns in two related scenarios:
Expected behavior: The Record List preserves its persisted Data Selection, legacy
data.*single-field value, and configured columns while the same Collection is hydrated or refreshed.Actual behavior: Screen Builder interprets stale or empty record data as a user-initiated Collection change and clears valid configuration.
Solution
singleFieldduring hydration, clearingsingleFieldonly when the user manually changes Data Selection.data.*field values for display without rewriting their persisted representation.How to Test
npm run run-cypress -- --spec tests/e2e/specs/CollectionRecordListColumns.spec.js --browser electron— 6 passing.npm run build-bundle— passed.processmaker.testconfirmed that the remapped Collection fixture and the zero-record Collection fixture preserve all six columns through Preview → Design, save, and reopen, while explicit Collection and Data Selection changes still clear the dependent configuration.Related Tickets & Packages
@processmaker/screen-builderci:deploy