Plugin Controller seems to return empty response and action method never gets called
I've been following this tutorial on how to build a custom section in the back office: http://www.nibble.be/?p=440
I have got to the point where I am trying to load data from my custom Api Controller using the GetById method. However I am getting an empty response back. I am going direct to the URL e.g.
I'm calling it directly through the URL as a test because Angular seems to be calling the wrong URL. I will investigate the wrong URL thing and see if that fixes it. It seems like the JavaScript has been cached somewhere...
Plugin Controller seems to return empty response and action method never gets called
I've been following this tutorial on how to build a custom section in the back office: http://www.nibble.be/?p=440
I have got to the point where I am trying to load data from my custom Api Controller using the GetById method. However I am getting an empty response back. I am going direct to the URL e.g.
http://local-umbraco.mysite.com/umbraco/backoffice/ClientAdministrationSection/ClientApi/GetById/1
Sticking some breakpoints in show the constructor on my ClientApiController is called but the GetById method never gets executed.
The routing seems to be working because if I change GetById to something else in the URL I see an error.
Does anyone have any idea what could be going wrong?
You can see my controller code here: https://gist.github.com/rsleggett/3d8d6e168f27bb548a15
Ah it looks like I've got the same problem as described in this issue: http://issues.umbraco.org/issue/U4-4149
I'm calling it directly through the URL as a test because Angular seems to be calling the wrong URL. I will investigate the wrong URL thing and see if that fixes it. It seems like the JavaScript has been cached somewhere...
Deleting the TEMP directory has updated the plugin. Is there a way to disable the plugin cache temporarily?
I've added the following post build event to delete the cache:
is working on a reply...