Trouble with admin UI
Closed this issue · 5 comments
I'm getting alot of console errors from the Jhoose.Security scripts in the admin view, and it's displaying a blank page:
I can see in the Network tab that the fetching from /EPiServer/Jhoose.Security/jhoosesecurityadmin and csp-app.js is OK and also the call to /api/csp and /api/csp/settings. But still something is clearly missing due to the errors. I'm using Episerver 12.17.1 and Jhoose.Security.Admin 1.5.2.235
This isn't an error I would expect to see, can you also include the responses for the network requests in this ticket. I am interested to see what it contains.
Thanks
@andrewmarkham here you go!
I can see the problem, the JSON has been serialized incorrectly; the property names should be camelcase. Either your application or one of your other modules has changed the default behaviour.
I will look at seeing how I can make sure the response is always consistent
Yes we solved it by serialize with camelcase. Thank you! Luc Gosso says hi by the way! :)
Hi @FridaWesterdahl, glad you got it fixed. Good to hear from Luc, say hi back :)