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 2010-12-07 18:02:20

r1rider01
Member
Registered: 2010-12-07
Posts: 7

Ticket update and new ticket emails come in funny

From time to time emails that are sent to the requester and the IT staff look funny...its not all of them just some.  Happen both new and update emails.

running vs 78.1

Here is what one looks like:

Status : Processing (assigned)

Priority : Medium

Category (class) : Hardware > Deskt!
op   
Description : Please look into adding a second drive to my desktop machine#0660.



--------------------------

See the Category area?  Hardward > Deskt!
op


Anyone else get this?

If i re update this ticket, it will come in just fine...This happens on the Generic Template and my Modified Template.

Offline

#2 2010-12-07 21:30:09

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: Ticket update and new ticket emails come in funny

Try pasting a copy of the template itself.


Now using 0.78.1 on CentOS.

Offline

#3 2010-12-08 17:18:44

r1rider01
Member
Registered: 2010-12-07
Posts: 7

Re: Ticket update and new ticket emails come in funny

Template:


------------------- REPLY ABOVE THIS LINE ONLY -------------------

##IFticket.storestatus=solved##
YOUR CASE HAS BEEN SOLVED! - Click here to approve the solution   
##lang.ticket.autoclosewarning##
##lang.ticket.solvedate## : ##ticket.solvedate##
##lang.ticket.solution.type## : ##ticket.solution.type##
##lang.ticket.solution.description## : ##ticket.solution.description## ##ENDIFticket.storestatus##
##ELSEticket.storestatus##Click here to review and amend your ticket ##ENDELSEticket.storestatus##

TICKET TITLE : ##ticket.title##
##lang.ticket.author.name## : ##IFticket.author.name## ##ticket.author.name## ##ENDIFticket.author.name## ##ELSEticket.author.name##--##ENDELSEticket.author.name##
##lang.ticket.creationdate## : ##ticket.creationdate##
##lang.ticket.closedate## : ##ticket.closedate##
##lang.ticket.requesttype## : ##ticket.requesttype## ##IFticket.itemtype##
##lang.ticket.item.name## : ##ticket.itemtype## - ##ticket.item.name## ##IFticket.item.model## - ##ticket.item.model## ##ENDIFticket.item.model## ##IFticket.item.serial## -##ticket.item.serial## ##ENDIFticket.item.serial##  ##IFticket.item.otherserial## -##ticket.item.otherserial## ##ENDIFticket.item.otherserial## ##ENDIFticket.itemtype##
##IFticket.assigntouser## ##lang.ticket.assigntouser## : ##ticket.assigntouser## ##ENDIFticket.assigntouser##
##lang.ticket.status## : ##ticket.status##
##IFticket.assigntogroup## ##lang.ticket.assigntogroup## : ##ticket.assigntogroup## ##ENDIFticket.assigntogroup##
##lang.ticket.priority## : ##ticket.priority##
##IFticket.user.email## ##lang.ticket.user.email## : ##ticket.user.email ##ENDIFticket.user.email##
##IFticket.category####lang.ticket.category## : ##ticket.category## ##ENDIFticket.category## ##ELSEticket.category## ##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
##lang.ticket.content## : ##ticket.content##

##IFticket.storestatus=closed####lang.ticket.solvedate## : ##ticket.solvedate##
##lang.ticket.solution.type## : ##ticket.solution.type##
##lang.ticket.solution.description## :

##ticket.solution.description##


##ENDIFticket.storestatus##

##lang.ticket.numberoffollowups## : ##ticket.numberoffollowups##

##FOREACHfollowups##


[##followup.date##] ##lang.followup.isprivate## : ##followup.isprivate##
##lang.followup.author## : ##followup.author##
##lang.followup.description## : ##followup.description##

##lang.followup.date## : ##followup.date##
##lang.followup.requesttype## : ##followup.requesttype##

---------------------------------------------------------------------------------------------------------------------
##ENDFOREACHfollowups##





##lang.ticket.numberoftasks## : ##ticket.numberoftasks##

##FOREACHtasks##


[##task.date##] ##lang.task.isprivate## : ##task.isprivate##
##lang.task.author## : ##task.author##
##lang.task.description## : ##task.description##

##lang.task.time## : ##task.time##
##lang.task.category## : ##task.category##

---------------------------------------------------------------------------------------------------------------------

##ENDFOREACHtasks##

Offline

#4 2010-12-08 17:26:15

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: Ticket update and new ticket emails come in funny

I don't see anything wrong, but these templates give me headaches.  Maybe someone else will respond.


Now using 0.78.1 on CentOS.

Offline

#5 2010-12-08 21:17:06

r1rider01
Member
Registered: 2010-12-07
Posts: 7

Re: Ticket update and new ticket emails come in funny

Ya me too     yikes

But like i stated, i don't think it's the template....  It only happens on some of the emails, not all of them

Offline

#6 2010-12-09 16:11:04

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: Ticket update and new ticket emails come in funny

You did check both the HTML and Text templates for incongruities?  Maybe an errant ![linebreak] in one and not the other that would cause this?


Now using 0.78.1 on CentOS.

Offline

#7 2010-12-09 18:41:40

r1rider01
Member
Registered: 2010-12-07
Posts: 7

Re: Ticket update and new ticket emails come in funny

I actually went ahead and redid the template, that i found on here....no issues with it yet, but then again the new template doesn't show the category anymore (which isn't needed all that much)

Offline

#8 2010-12-09 19:40:12

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: Ticket update and new ticket emails come in funny

Yeah, sometimes weird stuff happens when you change the templates.  I copied and pasted one of the generic templates and then edited it slightly and it messed up my hyperlinks, added weird things to the beginning of the link.  I went back and edited the hyperlinks and fixed them, but still it was strange.


Now using 0.78.1 on CentOS.

Offline

Board footer

Powered by FluxBB