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 #24236: Overriding properties should have the same type as overridden #5471

Conversation

clarktsiory
Copy link
Contributor

@clarktsiory clarktsiory commented Mar 14, 2024

https://issues.rudder.io/issues/24236

Add a warning field for when a property has some conflict over it's "type hierarchy".

It can be seen in node properties tabs, in different cases :

  • when creating a new property (but we try to infer the property type when we can here) :
    image

  • when editing an existing property :
    image

  • when node property already exists and has type hierarchy conflicts : image

N.B. : The feature is available in both "node" and "group" details.

@clarktsiory clarktsiory requested a review from fanf March 14, 2024 15:16
@clarktsiory clarktsiory marked this pull request as draft March 14, 2024 15:16
@clarktsiory clarktsiory force-pushed the bug_24236/overriding_properties_should_have_the_same_type_as_overridden branch from 7e838ff to a3afdc0 Compare March 14, 2024 15:20
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

1 similar comment
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory clarktsiory marked this pull request as ready for review March 14, 2024 17:43
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory clarktsiory marked this pull request as draft March 15, 2024 09:36
@clarktsiory
Copy link
Contributor Author

Tests are failing, I'm fixing them

@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory clarktsiory marked this pull request as ready for review March 15, 2024 11:25
Copy link
Member

@fanf fanf left a comment

Choose a reason for hiding this comment

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

LGTM, and it's a really nice feature. Having the list of faulty nodes in groups is very cool.

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/5471
-- Your faithful QA
Kant merge: "To be is to do."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/81749/console)

@fanf
Copy link
Member

fanf commented Mar 18, 2024

OK, squash merging this PR

@fanf fanf force-pushed the bug_24236/overriding_properties_should_have_the_same_type_as_overridden branch from ef8436e to 88d2746 Compare March 18, 2024 20:14
@fanf fanf merged commit 88d2746 into Normation:branches/rudder/8.1 Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants