Task #56534
ResourceCache stores schemas even if the content is not valid json
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-04
Due date:
% Done:
100%
Estimated time:
Description
When a schema is fetched from the server the json is stored in the ResourceCache. Currently there's no check whatsoever if the return value is valid json yes or no.
As in some cases it happens the server returns HTML (for example if the session is expired) the ResourceCache stores invalid values, which are stored in the browser and can not easily be cleared by the user.