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 2013-01-29 11:52:45

forolinux
Member
Registered: 2012-07-30
Posts: 49

ERR: Heading field empty adding a new document to a ticket

Hi all:
    Each time I add a new document using the Documents tab on the ticket form, the heading field is not saved correctly. I tested it using the glpi user too. So the new document is stored but without heading.

But If I add a new document using Managment -> Documents, it works!
Does anyone has this problem and/or know how to solve it?

GLPI 0.83.7

Last edited by forolinux (2013-01-29 12:02:35)

Offline

#2 2013-02-18 08:55:39

forolinux
Member
Registered: 2012-07-30
Posts: 49

Re: ERR: Heading field empty adding a new document to a ticket

Nobody has this issue?

Offline

#3 2013-02-19 18:44:18

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: ERR: Heading field empty adding a new document to a ticket

Hi,

I have a similar issue, but I've got used to it. Every document added from the ticket form, would have the same header, no matter what I choose.

It might be by design, but adding a default heading when nothing is selected seems more logical to me.

Please tell me your settings at Setup -> General -> Assistance -> Default heading when adding a document to a ticket

Cheers

Offline

#4 2013-02-23 11:13:19

forolinux
Member
Registered: 2012-07-30
Posts: 49

Re: ERR: Heading field empty adding a new document to a ticket

makeijan wrote:

I have a similar issue, but I've got used to it. Every document added from the ticket form, would have the same header, no matter what I choose.
It might be by design, but adding a default heading when nothing is selected seems more logical to me.

I have noticed that adding a new document from a printer objet form works perfectly. The new document uploaded has the rigth heading. Seems to be a issue on the code, what do yo think?
More logical? Why? My heading are image, log_file, order_form, report, documentation, etc. Which one should be the default heading?

makeijan wrote:

Please tell me your settings at Setup -> General -> Assistance -> Default heading when adding a document to a ticket
Cheers

I had none of the headings selected as default. I tried selecting one of the heading here, and now each document I upload from the Ticket form has this heading, ignoring my seleccion on the form, and this is no a solution for me.

Thanks for your help.

Last edited by forolinux (2013-02-23 11:14:03)

Offline

#5 2013-02-26 09:30:34

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: ERR: Heading field empty adding a new document to a ticket

Yes you are right.
Setting manual headings must not be overridden by general config.
Ticket here : https://forge.indepnet.net/issues/4232


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#6 2013-02-26 09:47:34

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: ERR: Heading field empty adding a new document to a ticket


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2013-02-27 10:56:23

forolinux
Member
Registered: 2012-07-30
Posts: 49

Re: ERR: Heading field empty adding a new document to a ticket

Be a new version is released, I 've downloaded and tested your solucion replacing the document.class.php file for this new version and every thing seems to work fine.
Thank's a lot MoYo..

Thank you all for your great job.

Offline

Board footer

Powered by FluxBB