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-09-29 11:11:32

robmura76
Member
Registered: 2017-09-29
Posts: 9

email attached documents - new ticket

Hi,
I updated successfully to glpi 9.2, now when a user open a ticket using email and attach a document, the document is not loaded on the ticket.

thanks

Offline

#2 2017-10-02 13:13:49

Ryzhenkov
Member
Registered: 2017-10-02
Posts: 7

Re: email attached documents - new ticket

Good afternoon. Same problem.

Offline

#3 2017-10-02 13:16:28

Ryzhenkov
Member
Registered: 2017-10-02
Posts: 7

Re: email attached documents - new ticket

In php-errors.log writes "Undefined varible: mid"

Offline

#4 2017-10-03 08:47:38

Ryzhenkov
Member
Registered: 2017-10-02
Posts: 7

Re: email attached documents - new ticket

Who can say where varible mid defined?

Last edited by Ryzhenkov (2017-10-03 08:58:45)

Offline

#5 2017-10-03 09:30:51

Ryzhenkov
Member
Registered: 2017-10-02
Posts: 7

Re: email attached documents - new ticket

Resolved

Just need to change in file ./inc/mailcollector.class.php

$this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure,

to

$this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure,

Last edited by Ryzhenkov (2017-10-03 09:32:22)

Offline

#6 2017-10-03 10:31:24

robmura76
Member
Registered: 2017-09-29
Posts: 9

Re: email attached documents - new ticket

Ryzhenkov wrote:

Resolved

Just need to change in file ./inc/mailcollector.class.php

$this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure,

to

$this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure,

YEAH! It works!.. thank you!

Offline

#7 2017-10-03 10:58:11

Ryzhenkov
Member
Registered: 2017-10-02
Posts: 7

Re: email attached documents - new ticket

You're welcome smile

Offline

#8 2017-10-03 13:05:43

machadomall
Member
From: Brazil, Brasilia, DF
Registered: 2011-10-30
Posts: 208

Re: email attached documents - new ticket

Hello good day,

Just to make it easier, it's on line 1412 of the ./inc/mailcollector.class.php file.
- I believe this will be conrrigido in the next version.

Hugs.

Last edited by machadomall (2017-10-03 13:06:51)


Márcio Machado
Brasília-DF / Brasil

Offline

#9 2017-10-04 16:42:55

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

Re: email attached documents - new ticket


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