Skip to content

When importing packages, SQL errors may be generated #5291

Closed

Description

@jdcoats
2023/04/04 14:59:08 - CMDPHP SQL Backtrace: (/package_import.php[41]:form_save(), /package_import.php[188]:import_package(), /lib/import.php[587]:import_xml_data(), /lib/import.php[235]:xml_to_data_template(), /lib/import.php[1179]:db_execute_prepared())
2023/04/04 14:59:08 - CMDPHP ERROR: A DB Exec 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 'data_template_rrd AS dtr ON gti.task_item_id = dtr.id INNER JOIN data_input_f...' at line 1

Activity

  1. added
    bugUndesired behaviour
    unverifiedSome days we don't have a clue
    on Apr 4, 2023
  2. TheWitness commented on Apr 4, 2023

    @TheWitness
    Member

    Your running 1.2.x branch?

  3. jdcoats commented on Apr 4, 2023

    @jdcoats
    Author

    Yes, saw the same thing running the upgrade to 1.2.25 yesterday also. Should have mentioned that today

  4. jdcoats commented on Apr 5, 2023

    @jdcoats
    Author

    I will update to develop if you have time to follow through with me to stabilization :)

  5. TheWitness commented on Apr 5, 2023

    @TheWitness
    Member

    Not yet Dan. There is some heavy lifting yet to do. If you want to do a dev setup, that fine.

  6. jdcoats commented on Apr 5, 2023

    @jdcoats
    Author

    Thought so, it would be some work here also as every device has an ACL allowing snmp query so everything would have to be touched to allow that and 2x query’s every minute would be excessive also

  7. TheWitness commented on Apr 6, 2023

    @TheWitness
    Member

    This is resolved now.

  8. TheWitness commented on Apr 6, 2023

    @TheWitness
    Member

    Fixed here.

  9. added this to the v1.3.0 milestone on Apr 6, 2023
  10. locked and limited conversation to collaborators on Jul 6, 2023
  11. changed the title [-]Error thrown when installing packages[/-] [+]When importing packages, SQL errors may be generated[/+] on Sep 3, 2023
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 behaviourconfirmedBug is confirm by dev teamresolvedA fixed issuestatus:confirmedNamespaced Cacti workflow labelstatus:needs-verificationNamespaced Cacti workflow labeltype:bugNamespaced Cacti workflow labelunverifiedSome days we don't have a clue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions