Skip to content

Data source template names should be shown in the respective "suggested values" sections #4161

@bernisys

Description

@bernisys

Describe the bug

Data source template names are not shown in the list for the suggested values for data sources, if multiple data source templates are used in the connected graph.

(Not sure if it is wise to create such a query, but we just produced this scenario.)

To Reproduce

Create 2 data source templates
Create a graph using both data source templates
Create a data query and add the graph template
Check the "Suggested Values - Data Sources" section
You will see two sections listed belonging to the two data sources, but there is no way to distinguish, which of the DS each of them is connected to.

Expected behavior

Show the DS template names, as it is done in the "Associated Data Templates" section above.

Screenshots

cacti-query-edit-datasource-hint-missing

I have added already a "name" pattern for both, one suffexed "first" and the other one "second" to find out which is which.
I assume that the first one corresponds with the first DS also shown in the top section for the variable-assignment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions