When I call myModel.save (), in one of my controllers, to insert a new entry into the repository, I return a promise with isRejected: true.
The cause object has the following attributes:
readyState: 4, status: 201, statusText: "created"
The object is created correctly in my REST service. In fact, if I put transitionToRoute in catch (), instead of then () everything would look just fine.
What's going on here?
expez source
share