Bug #5613

bug for reports of other plugin

Added by yllen 6 months ago. Updated about 1 month ago.

Status:ClosedStart date:11/12/2020
Priority:NormalDue date:
Assignee:yllen% Done:


Target version:1.14.1


Dear Nelly,

I found a bug/typo introduced in the last release of the GLPI Additional Reports plugin, but I’m not able to post any new ticket in forge.glpi-project.org, so I try to write directly to you:

In inc/function.php line#68 was changed for compatibility to GLPI 9.5,

however, this:

$prefix = Plugin::getPhpDir('repots'). "/plugins/$plugin/report/". $report_name ."/" . $report_name;

Should be corrected to

$prefix = Plugin::getPhpDir('reports'). "/report/". $report_name ."/" . $report_name;

This is needed for new custom reports to find the language file.


Moreover, ~10 lines below there is an error output commented as “for development” which writes lots of lines to the log, and should maybe be removed imho.

I thank you very much already if you are able to bring this change to the code.

Best regards


Associated revisions

Revision 388
Added by yllen 6 months ago

fixed #5613


#1 Updated by yllen 6 months ago

  • Target version set to 1.14.1

#2 Updated by yllen 6 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r388.

#3 Updated by yllen about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF