You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you try to come up with a minimal reproduction of this issue (i.e. does it always occur when a model name start with a?) and post the code in this issue that does that? Then we can troubleshoot it quickly and easily. Thanks!
hallo,
test file is attached. changing modelname from _modelname = "aip_address" to _modelname = "ip_address", change the output of the metod get_tree_traversal().
br milan
I think I see the issue. I have updated the title. _get_initial_value_order seems to not take into consideration children beyond top level, so by the time it get's to children of children there is not a correct expectation of what order it should be processed in
Activity
itdependsnetworks commentedon Feb 22, 2023
Can you show what your
DiffSyncclass looks like?milan2655 commentedon Feb 22, 2023
Kircheneer commentedon Feb 22, 2023
Can you try to come up with a minimal reproduction of this issue (i.e. does it always occur when a model name start with
a?) and post the code in this issue that does that? Then we can troubleshoot it quickly and easily. Thanks!milan2655 commentedon Feb 23, 2023
test.py.zip
hallo,
test file is attached. changing modelname from _modelname = "aip_address" to _modelname = "ip_address", change the output of the metod get_tree_traversal().
br milan
itdependsnetworks commentedon Feb 23, 2023
Your children are mapping to
ip_addressand notaip_address.milan2655 commentedon Feb 23, 2023
i have changed mapping to aip_address:
and the output is not changed:
itdependsnetworks commentedon Feb 23, 2023
Please show the full output, the issues can only be shown then. The prior as an example had clear issues, perhaps there are new ones.
milan2655 commentedon Feb 24, 2023
how do you mean full output?
[-]get_tree_traversal[/-][+] _get_initial_value_order seems to be flawed[/+]itdependsnetworks commentedon Feb 24, 2023
I think I see the issue. I have updated the title.
_get_initial_value_orderseems to not take into consideration children beyond top level, so by the time it get's to children of children there is not a correct expectation of what order it should be processed inmilan2655 commentedon Feb 27, 2023
did you fix the issue?
Kircheneer commentedon Feb 27, 2023
No, the issue is not fixed at this time. However, do feel free to submit a PR with a fix!