Skip to content

LT-3646: Unchecked checkboxes count as "no data"#494

Merged
mark-sil merged 3 commits into
release/9.3from
LT-3646
Oct 22, 2025
Merged

LT-3646: Unchecked checkboxes count as "no data"#494
mark-sil merged 3 commits into
release/9.3from
LT-3646

Conversation

@mark-sil

@mark-sil mark-sil commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

When determining field visibility, treat unchecked checkboxes as if they have "no data".

Note: This change applies to all checkboxes stored as a Boolean, and one checkbox that is stored as an integer. To apply the new behavior to a checkbox stored as an integer, and avoid changing the behavior of all integer fields, we specifically identify the integer field. There is a possibility that we missed other checkbox fields that are stored as an integer.

Change-Id: Ia039b97f42727314b54d8d0b0303b7ca141b33e4


This change is Reviewable

When determining field visibility, treat unchecked checkboxes
as if they have "no data".

Note:  This change applies to all checkboxes stored as a Boolean,
and one checkbox that is stored as an integer.  To apply the new
behavior to a checkbox stored as an integer, and avoid changing
the behavior of all integer fields, we specifically identify the
integer field. There is a possibility that we missed other checkbox
fields that are stored as an integer.

Change-Id: Ia039b97f42727314b54d8d0b0303b7ca141b33e4
return NodeTestResult.kntrNothing;
break;
case CellarPropertyType.Integer:
// This is displayed as a checkbox.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Hide Minor Entry is displayed as a checkbox" would be more clear.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Change-Id: Ibc8327d9c3d983b75a20c0d44a66517201b8cafc

@mark-sil mark-sil left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @papeh)

return NodeTestResult.kntrNothing;
break;
case CellarPropertyType.Integer:
// This is displayed as a checkbox.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mark-sil mark-sil merged commit 562ed9d into release/9.3 Oct 22, 2025
4 of 6 checks passed
@mark-sil mark-sil deleted the LT-3646 branch October 22, 2025 12:08
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