I would appreciate it if you could look into this:
I try to save a model using model.save:
model.save().then((result) => {
console.log('Save operation finished')
console.log('Result: ')
console.log(result)
console.log('Model:')
console.log(model)
console.log('Error in model:')
console.log(model.error)
})
The server returns a 422 (Unprocessable Entity) error. I see the following:
- The
result contains the JSON error from the server.
- The model has previously edited values set.
- The
model.error is null
The last point is obviously a problem. Would you consider this a bug? If this is intended, how is it possible to spot the error?
I would appreciate it if you could look into this:
I try to save a model using
model.save:The server returns a 422 (Unprocessable Entity) error. I see the following:
resultcontains the JSON error from the server.model.erroris nullThe last point is obviously a problem. Would you consider this a bug? If this is intended, how is it possible to spot the error?