Skip to content

Error in group editing form - group_id column not found #28

@ratado

Description

@ratado

When access a group form, the following error has shown (debug mode enabled):

image

Unknown column 'glpi_plugin_statecheck_rules.groups_id' in 'where clause' in query "SELECT COUNT(*) AS cpt FROM glpi_plugin_statecheck_rules, glpi_entities WHERE (((glpi_plugin_statecheck_rules.groups_id = '679'))) AND glpi_plugin_statecheck_rules.entities_id = glpi_entities.id AND NOT (glpi_entities.entities_id IN ('0', '111'))"

In fact, the column groups_id does not exist in table glpi_plugin_statecheck_rules. The same column does not exist in file empty-1.0.2.sql.

To simulate this error, enable the Debug mode and access a group form of an existent group:

https://my.glpi/front/group.form.php?id=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions