Skip to content

Issue #6184: Simplified and optimized visibility check. - #6248

Merged
svenoe merged 8 commits into
rel-11_1from
issue-#6184-visibility_check_switch
Oct 19, 2026
Merged

svenoe merged 8 commits into
rel-11_1from
issue-#6184-visibility_check_switch

Conversation

@stefanhaerter

Copy link
Copy Markdown
Contributor

Combined check for visibility and cached visibility in one statement and
shifted it upward.

references #6184

@stefanhaerter
stefanhaerter force-pushed the issue-#6184-visibility_check_switch branch 3 times, most recently from 0b61bc2 to aa47d69 Compare October 16, 2026 12:36
Combined check for visibility and cached visibility in one statement and
shifted it upward.
Fields which do set their content themselves (behavior
SetsDynamicContent) also handle the hidden case themselves. Therefor,
the hidden fields handling needs to be shifted behind the
SetsDynamicContent block.
Removed rebase oversight.
Rewrote "next" statement to be more easily readable.
@stefanhaerter
stefanhaerter force-pushed the issue-#6184-visibility_check_switch branch from aa47d69 to 928f43a Compare October 19, 2026 06:01
Reference driver needs to handle hiding and reappearing by itself. It
needs to get passed on visibility changes as it can't determine them by
itself.

Evaluation needs to be skipped if field gets hidden. In that case, we
reset the field to the stored value regardless if it is valid anymore.
This is done to allow ACLs to be calculated properly.
@stefanhaerter
stefanhaerter force-pushed the issue-#6184-visibility_check_switch branch 2 times, most recently from 822f9a8 to 7d5ffef Compare October 19, 2026 07:24
Fixed logic: We want to check for changed value also in case visibility
changed.

Also, value changed check needs to run on data from GetParam, not from
potentially already changed value.
@stefanhaerter
stefanhaerter force-pushed the issue-#6184-visibility_check_switch branch from 7d5ffef to 5ab470b Compare October 19, 2026 07:38
@svenoe
svenoe merged commit 98b5be2 into rel-11_1 Oct 19, 2026
1 check passed
@svenoe
svenoe deleted the issue-#6184-visibility_check_switch branch October 19, 2026 13:19
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.

2 participants