"An error occurred when trying to update the ticket due date"

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
kazukawaii
Posts: 6
Joined: Mon Mar 05, 2018 9:39 am

"An error occurred when trying to update the ticket due date"

Post 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?
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: "An error occurred when trying to update the ticket due date"

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
kazukawaii
Posts: 6
Joined: Mon Mar 05, 2018 9:39 am

Re: "An error occurred when trying to update the ticket due date"

Post 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.
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: "An error occurred when trying to update the ticket due date"

Post 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
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: "An error occurred when trying to update the ticket due date"

Post 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
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Re: "An error occurred when trying to update the ticket due date"

Post by OCReactive »

Same problem and fix here.
Óscar
BZZ
Posts: 3
Joined: Tue May 15, 2018 6:55 am

Re: "An error occurred when trying to update the ticket due date"

Post by BZZ »

+1
Same problem...

Thank you for fixing!
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: "An error occurred when trying to update the ticket due date"

Post 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
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply