-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 #9101] Keywords filter only returns the root nodes of the tree #9111
Conversation
This pull request introduces 1 alert when merging d92fa7a into 9311864 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@afabiani, This looks good, maybe we could add some unit tests for this on API api/v2/keywords
Codecov Report
@@ Coverage Diff @@
## master #9111 +/- ##
==========================================
+ Coverage 60.65% 60.69% +0.04%
==========================================
Files 805 805
Lines 49215 49252 +37
Branches 7570 7574 +4
==========================================
+ Hits 29852 29895 +43
+ Misses 17706 17697 -9
- Partials 1657 1660 +3 |
This pull request introduces 1 alert when merging a9d9557 into 9311864 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattiagiupponi recursive cases should be accounted by the tests, without having to so specific tests. Otherwise we also need a test for further levels. If we're not covering the recursive case tests must be improved. |
Not sure I understood... when you invoke the rest endpoint the outcome is generated by triggering the recursive function... I can add other levels, but I really don't think this would change something |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-3.3.x 3.3.x
# Navigate to the new working tree
cd .worktrees/backport-3.3.x
# Create a new branch
git switch --create backport-9111-to-3.3.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 48e761342f9eb1157a6cd1fb4b0f5b8b2f7b9c22
# Push it to GitHub
git push --set-upstream origin backport-9111-to-3.3.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-3.3.x Then, create a pull request where the |
…#9111) (#9121) * [Fixes #9101] Keywords filter only returns the root nodes of the tree * [CircleCi] Testing Hierarchical Keywords tree Co-authored-by: Alessio Fabiani <[email protected]>
…t nodes of the tree (#9111) (#9121) * [Fixes #9101] Keywords filter only returns the root nodes of the tree * [CircleCi] Testing Hierarchical Keywords tree Co-authored-by: Alessio Fabiani <[email protected]>
…t nodes of the tree (#9111) (#9121) (#9124) * [Fixes #9101] Keywords filter only returns the root nodes of the tree * [CircleCi] Testing Hierarchical Keywords tree Co-authored-by: Alessio Fabiani <[email protected]>
References: #9101
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for contrib modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.