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 #24276: An errors occurs within technique editor resource manager when we create a folder that has the same name than another parent folder #5422

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche VinceMacBuche commented Feb 29, 2024

https://issues.rudder.io/issues/24276

We want to reset the current dir of the file manager when opening it. This fix the fact that everyone is lost when using it !

I fixed the recursion problem when a folder had the same name as one of it's parent. It was because a the name of the folder was used as key, so when looking for child file we were getting the parent one, then infinite loop.

I used the full path of the folder instead of just its name

…er when we create a folder that has the same name than another parent folder
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 0ff6633 into Normation:branches/rudder/8.0 Feb 29, 2024
15 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
3 participants