Commit 9128dc7
[6.x] Fix replicator preview text merging during reorder (#14072)
Fix replicator preview text merging fields from different set types during reorder
When drag-and-drop reordering replicator sets of different types, the
collapsed preview text incorrectly merged fields from multiple set types.
This happened because stale preview entries from the old set type remained
at index-based paths, and the previewText filter failed to exclude fields
that don't belong to the current set type — when a field handle wasn't
found in the set's config, it fell back to {} and {}.replicator_preview
=== undefined evaluated to true, letting foreign fields pass through.
Now when a field handle is not found in the current set's config, it
returns false immediately, filtering out any stale foreign-type fields.
Fixes #14071
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 27f94d7 commit 9128dc7
2 files changed
Lines changed: 4 additions & 2 deletions
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments