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

remove_edges_under_consolidation cannot unwind a consol if it is in different case and has different number of spaces #1174

Open
Mr-SabyasachiBose opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@Mr-SabyasachiBose
Copy link
Contributor

Describe the bug
calling remove_edges_under_consolidation() doesn't work if the actual element name in the dimension is "Parent1" but the parameter supplied is "parent1" or "Parent 1", etc. although TM1 considers them as same names for an element.

To Reproduce
add a consolidation in a dimension/hierarchy, say Parent1 and add a child under it say Child1
execute the function remove_edges_under_consolidation( dim_name, hierarchy_name, "parent 1" )

Expected behavior
Parent1 should not have Child1 under it anymore

Version
TM1py [2.0]
TM1 Server Version: [e.g. 11.8]

Mr-SabyasachiBose added a commit to Mr-SabyasachiBose/tm1py that referenced this issue Oct 17, 2024
…ubewise-code#1170

Bug fix for issue cubewise-code#1174 added to consider element names with case and space insensitive for remove_edges_under_consolidation()

Feature for cubewise-code#1170 added to allow a list of specific consolidations to unwind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant