Skip to content

Conversation

@hugopeek
Copy link
Contributor

@hugopeek hugopeek commented Jan 1, 2026

What does it do ?

With this patch, all tinyint fields that are NOT explicitly set in the YAML config will be reset to the default value.

This ensures that things like enabling/disabling plugins or static templates will be properly applied on remote installations.

Why is it needed ?

When resetting a tinyint value to its default (often 0), it is no longer added to the YAML file. This resulted in the field being ignored on other installs when running a build, and thus not receiving the updated value.

Related issue(s)/PR(s)

This fixes #411.

When resetting a tinyint value to its default (often 0), it is no longer added to the YAML file. This resulted in the field being ignored on other installs when running a build, and thus not receiving the updated value.

Now, all tinyint fields that are NOT explicitly set in the YAML config will be reset to the default value.

This ensures that things like enabling/disabling plugins or static templates will be properly applied on remote installations.

This fixes modmore#411.
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.

Unable to (re)set tinyint values to 0

1 participant