You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-02-13 18:48:10

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Bug report for plugin PDF v1.1

The  GLPI test environment is as following:

* Server
    * Red Hat Enterprise Linux Server release 7.3 (Maipo)
      * GLPI v9.1.2
        * Plugin Print to PDF v1.1

GLPI v9.1.2 has been migrated from GLPI v0.84.8 and the plugin Print to PDF has been migrated from v0.84.2 to v1.1.

This happens when I define or change GLPI user profiles.

2017-02-13 12:51:12 [7@ilab.sescam.jclm.es]
  *** PHP Notice(8): Undefined index: plugin_pdf
  Backtrace :
  plugins/pdf/inc/profile.class.php:67
  plugins/pdf/inc/profile.class.php:104              PluginPdfProfile->showForm()
  inc/commonglpi.class.php:483                       PluginPdfProfile::displayTabContentForItem()
  inc/commonglpi.class.php:450                       CommonGLPI::displayStandardTab()
  ajax/common.tabs.php:97                            CommonGLPI::displayStandardTab()

Tomás Abad

Offline

#2 2017-02-13 20:04:20

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Bug report for plugin PDF v1.1

It's not and error but a PHP notice.
I write a post in the plugin forge (https://forge.glpi-project.org/issues/5519)  to correct it in the next version. But this notice has no incidence to the functionality of the plugin


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2017-02-13 20:19:17

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: Bug report for plugin PDF v1.1

Thank you yllen.


Tomás Abad

Offline

#4 2017-02-16 15:16:33

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: Bug report for plugin PDF v1.1

Hello yllen,

My php-errors.log file has more entries regarding the Undefined index problem.

2017-02-16 11:36:36 [7@inventariopre.sescam.jclm.es]
PDF: don't know how to display _main_ tab\n2017-02-16 11:36:36 [7@inventariopre.sescam.jclm.es]
  *** PHP Notice(8): Undefined index: netpoints_id
  Backtrace :
  plugins/pdf/inc/networkport.class.php:110          
  plugins/pdf/inc/common.class.php:177               PluginPdfNetworkPort::pdfForItem()
  plugins/pdf/inc/common.class.php:335               PluginPdfCommon::displayCommonTabForPDF()
  plugins/pdf/front/export.massive.php:65            PluginPdfCommon->generatePDF()
2017-02-16 11:36:36 [7@inventariopre.sescam.jclm.es]
  *** PHP Notice(8): Undefined index: netpoints_id
  Backtrace :
  plugins/pdf/inc/networkport.class.php:110          
  plugins/pdf/inc/common.class.php:177               PluginPdfNetworkPort::pdfForItem()
  plugins/pdf/inc/common.class.php:335               PluginPdfCommon::displayCommonTabForPDF()
  plugins/pdf/front/export.massive.php:65            PluginPdfCommon->generatePDF()
2017-02-16 11:36:36 [7@inventariopre.sescam.jclm.es]
  *** PHP Notice(8): Undefined index: netpoints_id
  Backtrace :
  plugins/pdf/inc/networkport.class.php:110          
  plugins/pdf/inc/common.class.php:177               PluginPdfNetworkPort::pdfForItem()
  plugins/pdf/inc/common.class.php:335               PluginPdfCommon::displayCommonTabForPDF()
  plugins/pdf/front/export.massive.php:65            PluginPdfCommon->generatePDF()
...
...
...

Tomás Abad

Offline

Board footer

Powered by FluxBB