Unanswered: Resetting store's Proxy from localStorage to AjaxProxy
I wanted to check the saved record from the local storage and authenticate the record with the server. I tried to change the store proxy using the function setProxy. First time when i call setProxy on the store it works fine however when i call it second time with a different Proxy, it throws error "Cannot call method 'getRecords' of undefined". Below is the logic.