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-12-04 21:03:40

pawelch
Member
Registered: 2013-11-19
Posts: 19

Recurrent ticket - due date

When creating recurrent ticket due date is always empty

GLPI 84.3

Offline

#2 2013-12-05 09:47:12

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

Re: Recurrent ticket - due date

and the due date is defined is the template used in the recurrent ticket ?


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

Offline

#3 2013-12-05 18:52:45

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Yes. I set it as "Now"

And Openning date is set as -2.

When glpi creates a ticket the open date is like "now" and due date is empty.

Last edited by pawelch (2013-12-05 18:54:32)

Offline

#4 2013-12-11 10:36:54

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

Re: Recurrent ticket - due date

Found the problem. Ticket is created with the same date of the due_date (NOW) and GLPI consider that this due date is not valid (need to be > opening date)

I will fix it to permit due_date = date


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

Offline

#5 2013-12-11 10:42:08

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

Re: Recurrent ticket - due date


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

Offline

#6 2013-12-14 19:24:39

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Ok Thanks MoYo. This repair problem with due to date. But when is creating a new ticket now the opening date is the same like due to date. 
When I set i template a opening date now - 2h. New ticket is made with open date = due to date.

Offline

#7 2013-12-15 02:18:41

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

Re: Recurrent ticket - due date

due date < open date is forbidden because you could not fix a problem before it appears.
So due date is set to open date.


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

Offline

#8 2013-12-15 13:55:39

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Ok but opening date is like due date. when i create new ticket one day before due date. Something like that:
12.52.32.png

Offline

#9 2013-12-15 14:17:18

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

Re: Recurrent ticket - due date

Sorry do not understand. I create a ticket where due_date > open date and it is working

I d o not understand "opening date is like due date"...


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

Offline

#10 2013-12-15 15:32:24

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Ok
Sorry opening date is set the same as due date. look on my screenshoot. Preliminary creation is set as 1 day. So on screen ticket was created at 15.12.2013 12:50 but the openning date is set to 16.12.2013 12:50 the same due date.

I think the openning date should be 15.12.2013 12:50 ( because Preliminary creation is set as 1 day) and due date is OK.

Offline

#11 2013-12-15 15:49:00

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

Re: Recurrent ticket - due date

Sorry could you give all information about template and recurrent ticket ? and the real creation time.
Because I do not understand.


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

Offline

#12 2013-12-15 16:29:34

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

14.59.04.png

15.25.35.png

15.25.17.png

Please look at opennig date and due date

Offline

#13 2013-12-15 17:23:02

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

Re: Recurrent ticket - due date

I understand.

Could you try this fix : https://forge.indepnet.net/repositories … glpi/22303


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

Offline

#14 2013-12-15 22:09:18

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Hi.
The opening date is stille wrong. And the due date is now empty.
21.07.58.png

Offline

#15 2013-12-16 09:53:09

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

Re: Recurrent ticket - due date


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

Offline

#16 2013-12-16 22:20:32

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

21.17.48.png

Now due date is (Next creation on 2013-12-17 21:15) - Preliminary creation

I sugest that the Open date =  (Next creation on 2013-12-17 21:15) - Preliminary creation

Offline

#17 2013-12-17 10:18:04

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

Re: Recurrent ticket - due date

Next creation date is computed using preliminary creation.

This date is used as reference to compute due_date and opening date, so I do not not it into account preliminary creation a second time to compute dates


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

Offline

#18 2013-12-17 20:30:32

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

ok but with last fix is completly wrong.

When ticket is created the time is 2013-12-16 21:17 (cron joob 5 minutes execute ) this date is in field on screen in "Last update".
Opening date is set as -1day and when ticket is created is set in past - yesterday.
Due date is set as now. On screen is colored on red.

So when the ticket is created is allredy after the due date and was oppened yesterday?

Offline

#19 2013-12-17 20:50:38

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

Re: Recurrent ticket - due date

OK I see the trouble. Will try another fix.


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

Offline

#20 2013-12-17 20:54:52

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

Re: Recurrent ticket - due date


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

Offline

#21 2013-12-18 00:33:03

pawelch
Member
Registered: 2013-11-19
Posts: 19

Re: Recurrent ticket - due date

Now it is OK
Tahank You MoYo ..! wink

Offline

#22 2013-12-18 09:46:23

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

Re: Recurrent ticket - due date

Thanks for all your tests. and your patience.


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

Offline

Board footer

Powered by FluxBB