Skip to content

Update field UUID references in field condition rules when possible - #19515

Merged
brandonkelly merged 2 commits into
5.11from
bugfix/19486-update-replaced-field-uids
Aug 30, 2026
Merged

brandonkelly merged 2 commits into
5.11from
bugfix/19486-update-replaced-field-uids

Conversation

@brandonkelly

Copy link
Copy Markdown
Member

Description

Keeps fieldUid references within field layouts’ field condition rules updated when a custom field is replaced, whenever possible.

Caveats:

  • It only will work if the replaced custom field has the same condition rule class as the former.
  • It will only update condition rules within the field layout being saved. Other conditions (custom source conditions, element selection conditions on relational fields, etc.) can’t be updated automatically, unfortunately.

Related issues

[ci skip]
@brandonkelly
brandonkelly merged commit 981679f into 5.11 Aug 30, 2026
@brandonkelly
brandonkelly deleted the bugfix/19486-update-replaced-field-uids branch August 30, 2026 01:21
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