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

When duplicating a Graph Template, provide an option to not duplicate Data Query association #5459

Closed
TheWitness opened this issue Aug 19, 2023 · 2 comments
Labels
api API related issues bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

TheWitness commented Aug 19, 2023

Describe the bug

The Cacti API does not allow duplication of a Graph Template to be independent of It's Data Query association.

So, for example, when duplicating any Interface Graph Template, entries are added to all the Data Queries Referencing the new Graph Template.

There should be an option to remove this dependency.

Expected behavior

At the API level at least, separate the two actions.

@TheWitness TheWitness added bug Undesired behaviour confirmed Bug is confirm by dev team api API related issues labels Aug 19, 2023
@TheWitness TheWitness added this to the v1.2.25 milestone Aug 19, 2023
TheWitness added a commit that referenced this issue Aug 20, 2023
There is no option to not duplicate Graph Template Data Query association when duplicating a Graph Template
@TheWitness TheWitness added the resolved A fixed issue label Aug 20, 2023
TheWitness added a commit that referenced this issue Aug 20, 2023
There is no option to not duplicate Graph Template Data Query association when duplicating a Graph Template
@netniV
Copy link
Member

netniV commented Aug 28, 2023

This sounds like it could be counter-intuitive and create a broken template?

@TheWitness
Copy link
Member Author

There is a reason not to. When you are trying to leverage our API to clone a template, without this option, you obsessively are adding the duplicated graph template to the wrong data query in addition to the data query you want too.

Some of the old and convoluted APIs need to be unwound.

@netniV netniV changed the title There is no option to not duplicate Graph Template Data Query association when duplicating a Graph Template When duplicating a Graph Template, provide an option to not duplicate Data Query association Sep 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api API related issues bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants