While it was working fine during the private development on my localhost, since making some optimizations and making the move to Github, the restore function (right click in the grid -> restore) has not been working properly.
I’ve not yet managed to find out what specifically is causing this.
(I’m thinking it has to do with the handleRequest method that the connector uses, but the other processors are also using the connector so I’m not entirely sure.)
If you have any ideas, please do let me know.
This is the ajax response that is being returned:
{"success":false,"message":"Access denied.","total":0,"data":[],"object":[]}
When the processor is run, it should simply return "OK" which lets the listener know the revision was restored and to refresh the screen.