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 2016-03-08 01:47:13

tyrone.wyatt
Member
Registered: 2013-02-24
Posts: 72

PDF plugin unable to print problem with tasks

Hello,

When I print a problem with tasks I get the following error message:
glpi-pdf-1.0-problemtask
I can print problems okay without tasks okay.

I think I was able to fix this error by coping lines 78-81 from changetask.class.php into problemtask.class.php. See selected lines:
glpi-pdf-1.0-problemtask2

I am using GLPI 0.90.1 with PDF plugin 1.0

Regards,
Tyrone.

Offline

#2 2016-03-14 14:50:22

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

Re: PDF plugin unable to print problem with tasks


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 2016-03-14 23:43:04

tyrone.wyatt
Member
Registered: 2013-02-24
Posts: 72

Re: PDF plugin unable to print problem with tasks

Sorry yllen I still cannot print PDF of problems with tasks.

Can you try replacing the following lines in problemtasks.class.php from changetasks.class.php as per the image below.

This is the work around I found, but note I'm not a programmer but a sys admin.

glpi-pdf-1.0-problemtask3

Offline

#4 2016-03-18 11:58:32

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

Re: PDF plugin unable to print problem with tasks

Corrected: https://forge.glpi-project.org/projects … isions/446

i must change this part because you can't print if task has a status "Information"


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

#5 2016-03-20 02:25:09

tyrone.wyatt
Member
Registered: 2013-02-24
Posts: 72

Re: PDF plugin unable to print problem with tasks

Yes Yllen you are correct.
I downloaded latest build of the plugin from tarballs and it indeed working.

Offline

#6 2016-03-31 16:15:20

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

Re: PDF plugin unable to print problem with tasks

Thanks for tests. I close this post


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

Board footer

Powered by FluxBB