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

Fixes #24583: We should not be able to save a technique with empty enum parameters #5520

Conversation

ElaadF
Copy link
Member

@ElaadF ElaadF commented Mar 22, 2024

@ElaadF
Copy link
Member Author

ElaadF commented Mar 22, 2024

Commit modified

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch 2 times, most recently from d6efa4b to 39649ab Compare March 22, 2024 21:37
@ElaadF
Copy link
Member Author

ElaadF commented Mar 22, 2024

Commit modified

@ElaadF
Copy link
Member Author

ElaadF commented Mar 22, 2024

PR rebased

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch from 39649ab to 3746ebb Compare March 22, 2024 21:38
@ElaadF
Copy link
Member Author

ElaadF commented Mar 22, 2024

Commit modified

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch 2 times, most recently from 941ad40 to c806a81 Compare March 22, 2024 22:41
@clarktsiory clarktsiory self-requested a review March 25, 2024 08:50
@VinceMacBuche
Copy link
Member

An enum value may be empty, if the value is not "required"

If required is checked, then you have an error

@VinceMacBuche
Copy link
Member

but <3

@ElaadF
Copy link
Member Author

ElaadF commented Mar 25, 2024

Commit modified

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch from c806a81 to 303080a Compare March 25, 2024 13:00
@ElaadF
Copy link
Member Author

ElaadF commented Mar 25, 2024

Commit modified

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch from 303080a to 759816e Compare March 25, 2024 13:31
@ElaadF
Copy link
Member Author

ElaadF commented Mar 25, 2024

Commit modified

@ElaadF ElaadF force-pushed the bug_24583/we_should_not_be_able_to_save_a_technique_with_empty_enum_parameters branch from 759816e to 2100e4a Compare March 25, 2024 15:09
Copy link
Contributor

@clarktsiory clarktsiory left a comment

Choose a reason for hiding this comment

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

GG ! LGTM !

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 481d9e8 into Normation:branches/rudder/8.1 Mar 25, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants