Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Bug allowing loops #104

Closed
TomNicholas opened this issue Jun 2, 2022 · 0 comments · Fixed by #105
Closed

Bug allowing loops #104

TomNicholas opened this issue Jun 2, 2022 · 0 comments · Fixed by #105
Labels
bug Something isn't working

Comments

@TomNicholas
Copy link
Member

TomNicholas commented Jun 2, 2022

There is a bug in the _check_loop method, which meant that a tree with a cycle in it could potentially be created, which should never be allowed.

I think this bug was introduced in #76, which made this check datatree's responsibility instead of anytree's responsibility.

Originally posted by @TomNicholas in #103 (comment)

@TomNicholas TomNicholas mentioned this issue Jun 2, 2022
5 tasks
@TomNicholas TomNicholas added the bug Something isn't working label Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant