Hello,

We are getting an error when trying to save drafts on the client / user account side. A popup comes up saying: "Unable to save draft. Refresh the current page to restore and continue your draft" This is happening in both chrome / firefox. We recently updated from 1.16.x to 1.16.6. Agent account side drafts save perfectly fine.

cwalsh

If the system logs are truly coinciding with the user saving the draft then the User is having session issues. They can clear their cookies and sessions, login again, and retest.

Cheers.

    KevinTheJedi sorry, disregard that log post. That was from 2 months ago. For the draft issue, we tried on another users computer and they are also getting an error when trying to save drafts.

    cwalsh

    What is the error code they are getting exactly? Try inspecting the request and see what the response is. Also, check your logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.) for any related errors.

    Cheers.


      the user will not be able to post a reply to a ticket or save a draft until the page is reloaded. They will see this popup after waiting for the draft save. Once the page is reloaded, everything is fine. I will dive into more logs to see if I can better identify the issue.

      KevinTheJedi I cant check the request from the browser console either because once I refresh to capture the request the error is no longer present.

        cwalsh

        What? Just inspect the page, go to the network tab, click Preserve Logs, reload the page, make the request, and see what the Response says.

        As for the draft error message, this is unfortunately generic and thrown on any POST AJAX failure to /ajax.php/draft. So we need a little more information to see why.

        Cheers.

          KevinTheJedi sorry, i've never used this function before. Well the error is not coming up when I preform this now. I will do further testing.

          Thanks for your help.

          Write a Reply...