cloudstorm / open-angular-crud

Open Angular Crud is an AngularJS library that automatically creates administration and data manipulation (CRUD) screens from database descriptors
MIT License
6 stars 0 forks source link

Wrong association is displayed on index #103

Closed bence-nagy closed 6 years ago

bence-nagy commented 6 years ago

How to reproduce:

Prerequisites:

Pictures

State before adding a new coach: image

Adding a new coach with a newly created Team: image

State right after adding: image

State after a browser refresh: image


This is one example of a bug, where the FE datastore is not in sync with the backend data, but there are more instances where the same problem causes similar problems. Please test the frontend app thoroughly with the provided backend where different associations are available and document all the issues you find (So create issues for the different variations of the issue after solving this one.) A non-complete list of things to test:

One more thing to note: There are many unnecessary calls to the backend (you can trace all backend calls in the log of cs-node-app-template), please also create issues when more calls are made to the backend that necessary.