Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

networkports_id" also corresponds to index field of the target table #371

Closed
blippercop opened this issue Jan 15, 2024 · 2 comments
Closed

Comments

@blippercop
Copy link

  • The version of the plugin: 2.0.4
  • The version of your GLPI: 10.0.10 and earlier
  • The steps to reproduce your issue: Cant tell as we did nothing special. Started with GLPI 10 where PHP warnings and error are logged.

PHP Warning: Relation between "glpi_networkports" and "glpi_plugin_ocsinventoryng_networkports" table based on "networkports_id" field cannot be handled automatically as "networkports_id" also corresponds to index field of the target table. in /var/www/helpdesk/src/DbUtils.php on line 2131

@blippercop
Copy link
Author

blippercop commented Jan 15, 2024

In the relation table this was commented out by 8433a48
Rel?

Rel:#362

@blippercop
Copy link
Author

Close. Followup on: #362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant