Skip to content

When removing Data-query Associated Graph Templates, it deletes the graphs Templates from bottom to top  #4205

Description

@zuka1337

Describe the bug

  • If you click in delete (I'm not deleting the one that we're using)
  • As you can see there is 0 graph with those Graphs Templates Names
  • And nothing happened, impossible to delete, the selected ones.
  • Apparently, if I click delete in any of the Graph Template Name it deletes one by one from botom to top...

I was trying to clean the Data query..

image

This is the result:
image

Logs:

2021-03-30 15:45:22 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) LIMIT 0,30' at line 1
--
2021-03-30 15:45:22 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '))' at line 1

I can reproduce the error at any time.

Centos 7
Cacti 1.2.16
PHP 7.2.24
RRDtool 1.7.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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