Skip to content

When editing graphs and graph templates, back button results in broken page #3598

@TheWitness

Description

@TheWitness

Describe the bug

In certain cases, when pressing the back button, you receive a page that is broken. This happens on a few Cacti pages. This ticket is specifically for addressing the Graphs and Graph Templates page.

To Reproduce

Steps to reproduce the behavior:

  1. Edit a Graph Template

  2. Remove a Graph Template Input (which might also break your Template)

  3. Click on another Graph Template Input

  4. Press the Back Button

  5. See the page is not rendered properly.

Expected behavior

Cacti should execute the back button action, but some action types should not be cached in the first place.

Additional context

In this case, the back button will want to goto the previous 'item_remove' page, which will then redirect to a page with a header=false, this results in the error being displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions