Skip to content

Graph template not saved on graph edit #2794

@scamp

Description

@scamp

Cacti version
1.2.3 via freebsd ports
PHP version
7.2.16
RRDTool version
1.7.0

Describe the bug
The "Graph template" field is not being saved on saving graph settings under graph management.

To Reproduce
Steps to reproduce the behavior:

  1. Add a new graph using Graph management
  2. Select specific template (Interface bits/s), add data sources.
  3. Save the graph.
  4. Return to edit graph, notice the template is different from saved (Cisco CPU usage).
  5. Clicking "Save" without changing the template breaks the graph.

Expected behavior
Graph template, host and data sources correctly saved.

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