Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate length of configuration names from add*Conf HPM commands #3324

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

guilherme-gm
Copy link
Member

Pull Request Prelude

Changes Proposed

Adds a validation when configuration registered by HPM are longer than the supported size.

Today it would silently fail because the registered key is shorter than the actual name, it would not work but also not alert because it simply didn't find and the defaults for add*Conf macros is to make them not required.

With this change, users would be informed that this configuration won't work so they can provide a shorter name or increase the define.

Issues addressed: None, I think

Providing a too long name/path would silently fail otherwise.
@MishimaHaruna MishimaHaruna added this to the Release v2024.09 milestone Sep 28, 2024
@MishimaHaruna MishimaHaruna merged commit f516c57 into HerculesWS:master Sep 29, 2024
276 of 316 checks passed
@guilherme-gm guilherme-gm deleted the config-len-validation branch October 10, 2024 04:20
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.

4 participants