Skip to content

Conversation

@stonebuzz
Copy link
Contributor

@stonebuzz stonebuzz commented Dec 19, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

When GLPI attempts to verify the relationship consistency, the generation of the item type (DBUTILS->getItemTypeForTable()) from the table is incorrect.

For example:
PluginOrderOtherType != PluginOrderOthertype

This discrepancy triggers an error.

However, GLPI is unable to correctly handle the uppercase "T".

I therefore propose renaming the classes by removing the final uppercase letter to resolve this issue.

Screenshots (if appropriate):

@stonebuzz stonebuzz requested a review from Rom1-B December 19, 2025 09:16
@stonebuzz stonebuzz self-assigned this Dec 19, 2025
@stonebuzz stonebuzz added the bug label Dec 19, 2025
@stonebuzz stonebuzz merged commit 5fc0e07 into main Dec 19, 2025
3 checks passed
@stonebuzz stonebuzz deleted the fix_relation branch December 19, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid relations spam in log

3 participants