Skip to content

When saving a LINEX type Graph Item, the Line Width value is too restrictive #2478

@cigamit

Description

@cigamit

Describe the bug
When saving a LINEX Graph Item within a Graph Template, the Line width, if changed, must be a decimal with two decimal places of precision, which is too restrictive.

To Reproduce
Steps to reproduce the behavior:

  1. Edit a Line Graph Template Item
  2. Change the Width to 1.0 instead of 1.00
  3. Press Save
  4. See error

Expected behavior
Cacti should do the rounding automatically and not force the user to enter both decimals of precision. This may impact non-templated Graphs too.

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