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 16:23:02

EugeneSE
Member
Registered: 2017-04-13
Posts: 4

No attachment files

After updating from 9.1.6 to 9.2, all attachment files are deleted when mail is received.
When opening a new ticket or when replying to a ticket through the mail, the attached documents are not loaded.

Offline

#2 2017-09-30 06:16:20

williams.chavarria
Member
Registered: 2017-05-23
Posts: 3

Re: No attachment files

EugeneSE wrote:

After updating from 9.1.6 to 9.2, all attachment files are deleted when mail is received.
When opening a new ticket or when replying to a ticket through the mail, the attached documents are not loaded.

But the files exist in the ticket?  the problem is only in the mail?

Offline

#3 2017-10-02 09:08:32

EugeneSE
Member
Registered: 2017-04-13
Posts: 4

Re: No attachment files

No.
files are not added to the ticket and are not added to the Documents.
The problem occurred after the update.
While I had to roll back to version 9.1.6
----
Operating system: Linux servicedesk 3.10.0-514.21.2.el7.x86_64 #1 SMP Tue Jun 20 12:24:47 UTC 2017 x86_64
PHP 5.6.31 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apc, apcu, bcmath, bz2,
    calendar, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap,
    libxml, mbstring, mhash, mysql, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap, sockets,
    sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="10M" safe_mode="" session.save_handler="files"
    upload_max_filesize="15M"
Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 ()
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Server Software: MySQL Community Server (GPL)
    Server Version: 5.6.37
    Server SQL Mode:
    Parameters: root@localhost/glpi
    Host info: Localhost via UNIX socket
   
OK/var/www/html/glpi/config : OK
OK/var/www/html/glpi/files : OK
OK/var/www/html/glpi/files/_dumps : OK
OK/var/www/html/glpi/files/_sessions : OK
OK/var/www/html/glpi/files/_cron : OK
OK/var/www/html/glpi/files/_graphs : OK
OK/var/www/html/glpi/files/_lock : OK
OK/var/www/html/glpi/files/_plugins : OK
OK/var/www/html/glpi/files/_tmp : OK
OK/var/www/html/glpi/files/_rss : OK
OK/var/www/html/glpi/files/_uploads : OK
OK/var/www/html/glpi/files/_pictures : OK
OK/var/www/html/glpi/files/_log : OK
Web access to files directory is protectedWeb access to files directory is protected : OK
OKSELinux mode is Disabled

Offline

#4 2017-10-02 14:40:14

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

Re: No attachment files

same error on ubuntu 16.04 - php 7.0

Offline

#5 2017-10-04 09:42:12

EugeneSE
Member
Registered: 2017-04-13
Posts: 4

Re: No attachment files

dear colleagues
i found mistake in code
it was file mailcollector.class.php -> function getRecursiveAttached()
line "$this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure,"
in code wasn't chaned variable @param $mid
in new code must be $uid:
"$this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure,"

If new problems are found, need to check and merge the old code and new code.

Offline

#6 2017-10-04 15:41:36

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

Re: No attachment files


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