Save button does not work

Topics: ASP.NET 2.0
Mar 22 at 11:38 AM
Edited Mar 22 at 12:15 PM
When I changed datasource to DBProvider 'Save' button does not work.
Here is the error from Chrome when I clicking the button
"angular.js:11358 TypeError: Cannot read property 'OptionValue' of undefined
at h.$ (posteditorController.js:99)
at angular.js:12133
at f (angular.js:22518)
at h.$eval (angular.js:14123)
at h.$apply (angular.js:14221)
at HTMLAnchorElement.<anonymous> (angular.js:22523)
at HTMLAnchorElement.jQuery.event.dispatch (jquery-2.1.4.js:4435)
at HTMLAnchorElement.elemData.handle (jquery-2.1.4.js:4121)(anonymous function) @ angular.js:11358(anonymous function) @ angular.js:8445h.$apply @ angular.js:14223(anonymous function) @ angular.js:22523jQuery.event.dispatch @ jquery-2.1.4.js:4435elemData.handle @ jquery-2.1.4.js:4121"
In this place posteditorController.js:99
$ = $scope.selectedAuthor.OptionValue;

selectedAuthor is undefined
Mar 22 at 12:27 PM
Is seems the problem with Roles
I was using default "Admin" user tha has all kind of rights. But "Admin" could not edit another user's post.
So I have created a new user with the same name like author of existing posts aand it works!!!