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 2015-04-04 19:13:51

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Initial connection of ticket to "father" task

If I am adding a ticket to the task with the function: "Create a ticket from this task" there is some interesting bug: in the ticket created that way, the link to the task is active and this is ok. But if you go to the task, then you don`t see this subordinated ticket any more. You must find this ticket in "Add a ticckt" menu and add it ONCE AGAIN. Then is everything ok, but bothers the user!


Miro

Offline

#2 2015-04-05 11:10:23

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

Re: Initial connection of ticket to "father" task

I can't reproduce.
A create a ticket from a project task and when a go to the project task i can see ticket linked in Tickets tab.


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

#3 2015-04-06 09:47:13

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Re: Initial connection of ticket to "father" task

@yllen: tnx a lot for your reply, here the evidence how this (doesn´t) function on my site, GLPI 0.85.2:

1st step is to add the ticket from the task on this form:

Create%2Ba%2Bticket%2Bfrom%2Bthis%2Btask.png

Then the ticket is filled in and added, result is here:

Ticket%2Bgeretaed%2Bfrom%2Btask%2B1.1.png

It is obvious that there is no father task ("List" top left). This is also obvious from the "Tickets" list in the task, it is empty:

No%2Bticket%2Bsubordiated%2Bto%2Bthe%2Btask%2B1.1.png

Evidence that there is no link (yet) is that one can chose this task from the list. If we now do this MANUALLY, the link task-ticket will be established and the ticket appears in the ticket list under the task:

After%2Bmanual%2Badding%2Bthe%2Btest%2Bticket%2Bappears%2Bwithin%2Bthe%2Btask.png

The difference can be also seen in the ticket itself:

Test%2Bticket%2Bafter%2Bmanual%2Badding.png

Top left we see the "father" task"

Wrap up: after "Create a ticket from task" independent ticket is created, and linked only after establishing manual connection!


Miro

Offline

#4 2015-04-06 11:57:38

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

Re: Initial connection of ticket to "father" task

I done the same action but for me when a create e new ticket from project task and ask to see tickets of this task, a can see all me tickets.
You also have a modification in 0.85.3 to see project task from ticket object: https://forge.indepnet.net/issues/5260


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

#5 2015-04-06 13:35:20

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Re: Initial connection of ticket to "father" task

Tnx once again. Now I tested on demo site also with version 85.2.
This is my test project:
http://demo.glpi-project.org/front/proj … php?id=192
"Unfortunately" it functions correctly, as you indicated.
Thus, because of the fact that 85.2 function differently on different installations, this is obviously the problem with our installation. There can be 2 different root causes:
1) Installation / environment
2) Setup
Do yiou have any idea, is it possible to have sometjhing in the setup which produces such an effect? If not, then we will recheck the installation itself!


Miro

Offline

#6 2015-04-09 22:17:34

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Re: Initial connection of ticket to "father" task

Bingo, we found the bug cause: CATEGORY! If you have the categorized task, automatic link ticket-task will NOT be aestablished! Only after manual linkage everything is fine, pls do correct this bug asap!
(Of course, if there is no category in the task, everything is fine!)


Miro

Offline

#7 2015-04-10 09:45:16

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

Re: Initial connection of ticket to "father" task

By "Category", you mean the field "Type" of the project task ?


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

#8 2015-04-10 10:23:59

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Re: Initial connection of ticket to "father" task

No, no: category in the ticket, which is mandatory in our tickets, as shown in the image above!
So "bug functionality" is as follows:
1) one clicks "Create ticket from this task" (in the "Tickets" form of the project task)
2) void ticket form is displayed and we MUST chose one of categories from dropdown.
3) Obviously in this moment the link between this ticket and "father" project task is lost (this is th bug!)
4) After saving the ticket, one has to go in "tickts" form in the project task and establish this broken link manually
5) After previous step the link task-ticket is established correctly.

Last edited by madjaric (2015-04-10 10:25:15)


Miro

Offline

#9 2015-04-10 13:19:35

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

Re: Initial connection of ticket to "father" task

OK i can reproduce your bug.
Fix purposed: https://forge.indepnet.net/projects/glp … ions/23442


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

#10 2015-04-10 13:57:33

madjaric
Member
From: Croatia
Registered: 2008-05-16
Posts: 35

Re: Initial connection of ticket to "father" task

Cher Yllen, je crois que l'explanation est correcte:
"Je confirme : si un ticket est créer depuis la tache d'un projet et qu'il comprend une catégorie, le ticket n'est pas visible dans l'onglet Ticket de la tache de projet. Il n'est pas ajouté dans la table projecttasks_tickets".
Notre cooperation n'est pas mauvaise, on progresse!
Il faut que je pratique un peu la langue Francaise! :-)


Miro

Offline

Board footer

Powered by FluxBB