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 #21175: Impossible to put a Rule in a subcategory #4355

Conversation

ElaadF
Copy link
Member

@ElaadF ElaadF commented Jun 28, 2022

@ElaadF ElaadF force-pushed the bug_21175/impossible_to_put_a_rule_in_a_subcategory branch from f393067 to c186fdf Compare June 28, 2022 16:12
@ElaadF
Copy link
Member Author

ElaadF commented Jun 28, 2022

Commit modified

1 similar comment
@ElaadF
Copy link
Member Author

ElaadF commented Jun 28, 2022

Commit modified

@ElaadF ElaadF force-pushed the bug_21175/impossible_to_put_a_rule_in_a_subcategory branch from c186fdf to cc047fc Compare June 28, 2022 16:12
@ElaadF
Copy link
Member Author

ElaadF commented Jun 28, 2022

Commit modified

@ElaadF ElaadF force-pushed the bug_21175/impossible_to_put_a_rule_in_a_subcategory branch from cc047fc to 3c8254c Compare June 28, 2022 16:30
)
restTestSetUp.ruleApiService14.listCategoriesId(root) shouldEqual(listCatIds)
}

Copy link
Member

Choose a reason for hiding this comment

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

you should add a test that you only get cat4 and children if starting from cat4 (locality) and that you correctly get nothing if non existing cat and that you only get one cat starting from cat1

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 modulo missing tests, you can merge after adding them

@ElaadF ElaadF force-pushed the bug_21175/impossible_to_put_a_rule_in_a_subcategory branch from 3c8254c to 84fb42e Compare June 28, 2022 18:29
@ElaadF
Copy link
Member Author

ElaadF commented Jun 28, 2022

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 84fb42e into Normation:branches/rudder/7.0 Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants