-
-
Notifications
You must be signed in to change notification settings - Fork 464
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
UVDesk - unable to view/assign some tickets #740
Comments
Found my problem. Tickets were being generated successfully but initial threads were not generated in the database. Current solution has been to identify the tickets and manually create threads for them in the database table. |
I also have this issue, is there any permanent fix for this? |
Not yet. If occurs because in the Mailbox Service does not have the exception to handle a situation where the ticket header is generated but the thread is not. I have created a program outside of UVDesk to handle this but it is not yet perfect. It can fetch the emails but not the images in the email, and no attachments yet. It also requires configuration and a cron job. I can share that if you want. |
Thanks, but I looked more into it and I think I was able to fix it you can test it out on your own if you want on the file /vendor/uvdesk/core-framework/Services/TicketService.php 287 function CreateThread this line is the problem I did it like this because of testing but if you replace that with this
It should work |
This is great, and thank you. I will definitely try it. My initial approach was to try and modify the mailbox service i.e. /vendor/uvdesk/mailbox-component/Services/MailboxService.php 453 I thought of capturing the exception at this point but all I could come up with was a message to show that the "bug" was occurring here.
to
Will test and give you feedback in 2 days. |
5 day feedback: Issues has disappeared so far. No childless tickets. Will give further feedback on/by 22nd June 2024 after a larger test dataset. |
25th June 2024, issue has completely disappeared so far. |
Bug report
I am unable to assign or view some tickets.
Switching from prod to dev mode shows the error "Impossible to access as attribute("createdAt") on a null variable. See image below:
Check on the database shows the tickets are generated (via RefereshMailbox Command) correctly. No errors on ticket generation.
Please help.
UVDesk Version v1.1.3; Core Version v1.1.4
The text was updated successfully, but these errors were encountered: