Closed brunnersm closed 2 years ago
The current behavior always uses the plugins folder, but the reported issue is that it was going to the marketplace folder. Can you confirm that the GLPI Inventory plugin was installed with the marketplace and the redirect takes you to the plugins folder instead?
Yes, my GlpiInventory was by marketplace. It stays in this folder /marketplace/glpiinventory.
This error
Thanks, fix my problem.
Code of Conduct
Is there an existing issue for this?
Version
10.0.1
Bug description
The GlpiInventory in menu Rules > Computer information rules have a "Test rules engine" button, this button redirect to error page. GlpiInventory in Marketplace, then /marketplace/glpiinventory/front/rulesengine.test.php and not /plugins/glpi....
Relevant log output
No response
Page URL
https://[glpi address]/marketplace/glpiinventory/front/collectrule.php
Steps To reproduce
GlpiInventory >Rules > Computer information rules > ["Test rules engine"] button
Your GLPI setup information
Instruções de instalação e configuração
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
I found error in glpi/inc/rulecollection.class.php Line 560 if ($plugin = isPluginItemType($this->getType())) { $url = $CFG_GLPI["root_doc"]."/plugins/".strtolower($plugin['plugin']); } else { $url = $CFG_GLPI["root_doc"]; }
There is a variable that checks the folder?