I get the following error in angular client when i try to save the data.
The error i see in console. The UI validation says required field error even though i have keyed in all values.
{code: 0, message: "Your request is not valid!", details: "The following errors were detected during validati…equired. ↵ - The Description field is required. ↵", validationErrors: Array(5)} core.js:1633 ERROR Error: An unexpected server error occurred. at new SwaggerException (service-proxies.ts:19014) at throwException (service-proxies.ts:19034) at MergeMapSubscriber.project (service-proxies.ts:5798) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (mergeMap.js:60) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (mergeMap.js:50) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at Observable._subscribe (service-proxies.ts:19040) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (Observable.js:42) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe (Observable.js:28) at MergeMapOperator.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call (mergeMap.js:28)
2 Answer(s)
-
0
Maybe you didn't bind Description field with your model! Check the Chrome Network tab to see the outgoing data.
-
0
Found the problem. None of the data was returning back from the UI to the server. The reason is when i created a entity called "Show" it messed up with the method model.show and the model variable called show to create new instance of createoredit. I had to rename the show variable and update the angular page with the new variable.