-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors log : "Missing type for Ticket template!" #2210
Comments
Cannot investigate without a complete backtrace (see the backtrace shared in the linked issue) |
@btry Hi ! follow last 50 lines in backtrace plugins/formcreator/inc/formanswer.class.php:1001 PluginFormcreatorFormAnswer->generateTarget() [2021-04-13 18:46:23] glpiphplog.WARNING: *** PHP User Warning (512): Missing type for Ticket template! in /home/paulo/myglpi/glpi/inc/commonitilobject.class.php at line 7957 [2021-04-13 18:48:08] glpiphplog.WARNING: *** PHP User Warning (512): Missing type for Ticket template! in /home/paulo/myglpi/glpi/inc/commonitilobject.class.php at line 7957 [2021-04-13 18:50:32] glpiphplog.DEBUG: Html::compileScss() in /home/paulo/myglpi/glpi/inc/html.class.php line 7505 And "Also, please confirm that the ticket being created has a group in the actors. It seems this is important to reproduce." the ticket was actually opened without assigning the group or technician I´m GLPI 9.5.5 and Formcreator 2.11.2 |
Thank you for your information, but so far I could not reproduce. The backtrace shows that a relation between a group and the ticket is involved in the bug, and adding a group to the target ticket is not sufficient to generate the error. Can you show the definition of the actors of the target ticket in Formcreator ? If there are no group added here, can you tell how the group is added to the ticket (ticket template, business rule) ? |
OIa @btry Follow the print of the "target" In the environment, the attribution of the Technician or Group to the ticket is used by means of the rule in "ITIL Category" and "Rules of the entity" 1 - I set up the automatic assignment of technicians or groups through ITIL Categories. For that I need to go to the entity configuration and select the option below 2 - First I create the ITIL Category and inform which group will attend the ticket 3 - When I create the form, select only the category in the "target" |
Hi I created an ITIL category with a group in charge of the ticket, then configured the entity to automatically assign the ticket based on the category. Running a test form runs without error, then I still don't reproduce. I notice that in your screenshots, the group in charge of the hardware is added in the requesters, instead of the assigned (like it is expected and i observe on my own instance). |
@btry sorry for delay! Sorry I did not understand the problem in the statement: See the behavior below in my production instance with GLPI 9.5.4 and Form 2.11.2 See that the ticket opens without errors, and I have the same configuration in the ITIL Category Targets in Form |
Same error for me (GLPI 9.5.5 with Formcreator 2.11.2 When I'm writing a solution just after "Error 500" and in the Php-errors.log [2021-04-19 22:34:16] glpiphplog.WARNING: *** PHP User Warning (512): Missing type for Ticket template! in C:\inetpub\wwwroot\GLPI 9.5.5\inc\commonitilobject.class.php at line 7957 i'm using ITIL Category for the tickets. |
Hi @stdglpi If you get an error 500, then you have a 2nd backtrace in the logs of your HTTP server. This may be useful to find the root cause of the problem. When you write a solution are you in the context of the service catalog ? |
@btry I update in another GLPI instalation.. with GLPI 9.5.5 and Form 2.11.3, and de the error still the same :( |
Hi The original issue on GLPI is reopened because it seems to also occur with the mail collector. We are currently missing data to find the cause of the problem. |
@btry I can provide ssh access to a test environment for you to access. |
Good, this would be very nice, but I don't recognize you as a GLPI Network subscriber. If you have a subscription to professional service you should have credentials to request support here : https://services.glpi-network.com/ . |
@btry Anyway, if you want to analyze the incident just let me know. Until then, I will keep pausing the update of the environment. |
When we thought that the issue was caused by Formcreator, I tried to reproduce, without success. The backtrace involving the mailcollector workflow is a strong clue that Formcreator is not the cause (or root cause) of the bug. I did not investigated further since this event, but @cedric-anne did. I see 2 possible scenarios: 1I recommend you follow the issue in GLPI side. As the bug has a significant impact you should probably wait until the solution is identified. Being able to investigate directly in an impacted instance of GLPI should make investigation more efficient, then you shoud resume the partnership renegociation. 2You said you reproduce on a testing environment. If you have a receipe to reproduce from a fresh GLPI + Formcreator with a very minimal configuration and data set, this may be the key to solve the bug before the partnership renegociation succeeds. In such scenario, please, share all necessary data in the issue opened on GLPI's repo. |
from my side the problem start to occur since the GLPI update 9.5.4 to 9.5.5. This problem happens when I try to :
Have a good day |
Hi Thank you @stdglpi for those useful information. |
Hi A fix for GLPI was found. Closing this issue. |
issue reported in GLPI : glpi-project/glpi#8418
The text was updated successfully, but these errors were encountered: