-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Mailgate "Missing type for Ticket template" #9013
Comments
Hi Might be related to #8418 (error seen with Formcreator) |
Hi, Yes I think so. On GLPI 9.3.0 Formcreator 2.6.4-dev was installed but not activated. I also tried to delete and clean it before updating but still have the same error. |
I close this one since it seems related to a plugin. I guess there is something that has not been stored correctly in your database, you should check tickets marked as template in the database. |
Hi, I take a look at the provided stacktrace, and, as ticket is created from a mail collector, it does not seems to be related to formcreator plugin.
Regards |
I did the update of the last version of Formcreator with the last GLPI 9.5.5 and the problem still occured. For the moment I follow this discussion. |
|
from my side, the table doesn't exist in the database GLPI :( |
Hi The asked tables are glpi_entities and glpi_tickets. In the 1st table look at the column tickettype and in the 2nd look at the column type. Find the rows using the ID of the entity and the ID of the ticket. |
Thanks, see bellow : What is the value, in database, of |
So I do not understand why you have this error. We could not invastigate without a clear stacktrace. Please provide full logs. Regards |
here my full log, I stay available if you need additional content. Php-errors.log : [2021-05-06 15:27:44] 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 [2021-05-06 15:28:50] 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 commonitilobject.class.php : |
This bug in GLPI in function getITILTemplateToUse
If $type is null an error occurs |
@DVOVVK maybe could you open a pull request with your fix proposal? Thanks! |
Hello all, Any news on this issue ? regards, |
Hi @stdglpi @DVOVVK @AndreasGermany , Could you check if #9277 fixes your issue ? Regards |
@cedric-anne @trasher Yes ! it is working for me right now ! Thank you ! |
Hello,
|
Hello,
I just updated from 9.3.0 to 9.5.5 and now there are some errors in the PHP log.
The mailgate is collecting mails and when there is text only and no attachments or embedded grafics, everything is fine.
When an email with an attchment or embedded grafic is collected it seems to work because incomming mails are converted to tickets but the log tells a diffrent story.
php.log
Best regards
Andreas
The text was updated successfully, but these errors were encountered: