Page 1 of 1
"An error occurred when trying to update the ticket due date"
Posted: Mon Mar 05, 2018 9:41 am
by kazukawaii
We are seeing this error when trying to change the DUE DATE as admin or other user. We can not see any other information on why this might occur. Please would you advise remedy?
Re: "An error occurred when trying to update the ticket due date"
Posted: Mon Mar 05, 2018 12:42 pm
by mkoch227
I need more information. Check these places for any errors:
- Settings -> View Message Log. If there are any logs there from the time you tried updating the due date, paste the logs here
- After trying to change the due date, open your browser's JavaScript console (F12 in Chrome). If there are any logs in red (errors), copy and paste them here.
Re: "An error occurred when trying to update the ticket due date"
Posted: Mon Mar 05, 2018 5:50 pm
by kazukawaii
Thank you so much for your reply.
We repeated the attempted DUE DATE change, using Chrome browser. Same error message. No logs shown on the Java console; and no logs on the Settings>View Message Log either. Same error using MS Edge.
Re: "An error occurred when trying to update the ticket due date"
Posted: Tue Mar 06, 2018 5:10 pm
by mkoch227
Receiving the error should return an error in the JavaScript log. Can you send me a PM with the following information?:
- Helpdesk URL
- Admin username
- Admin password
Re: "An error occurred when trying to update the ticket due date"
Posted: Thu Apr 26, 2018 6:45 am
by bastiaan.c
Updating to MFH 3.3.1 cause this to stop working and have an error. Replacing admin-ticket.js with an older/previous version makes it work again.
Please advise
Re: "An error occurred when trying to update the ticket due date"
Posted: Thu Apr 26, 2018 7:21 am
by OCReactive
Same problem and fix here.
Re: "An error occurred when trying to update the ticket due date"
Posted: Tue May 15, 2018 6:58 am
by BZZ
+1
Same problem...
Thank you for fixing!
Re: "An error occurred when trying to update the ticket due date"
Posted: Tue May 15, 2018 11:42 am
by mkoch227
To fix this manually, open internal-api/js/admin-ticket.js and find:
Code: Select all
url: heskPath + 'api/v1/staff/tickets/' + ticketId + '/due-date
replace with:
Code: Select all
url: heskPath + 'api/index.php/v1/staff/tickets/' + ticketId + '/due-date