Skip to content

Delete Permanently not working on a model #548

@Mirkk

Description

@Mirkk

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.20

Plugin version

2.14.3

Bug description

The button "Delete Permanently" seems not to work on a model (e.g. .../marketplace/datainjection/front/model.form.php?id=1).
Tested on various versions and also on the actual teclib cloud.
As a workaround, in the list view, Action->Delete is working well.

Relevant log output

No error nor sql error and debug mode output in current versions.

maybe this could help: ON an old v. 2.13.0 we had this sql error: "Truncated incorrect DECIMAL value: '' 1292: Truncated incorrect DECIMAL value: '' in query "(SELECT `itemtype` FROM `glpi_plugin_datainjection_models` WHERE `id` = '') UNION (SELECT DISTINCT `itemtype` FROM `glpi_plugin_datainjection_mappings` WHERE `models_id` = '') UNION (SELECT DISTINCT `itemtype` FROM `glpi_plugin_datainjection_infos` WHERE `models_id` = '')"

Page URL

marketplace/datainjection/front/model.form.php?id=1

Steps To reproduce

  1. create a model
  2. go to its edit page
  3. delete it
  4. list the models again --> it is still there!

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions