Sotera / DatawakeDepot

Loopback web application for administration of Datawake networks
Apache License 2.0
9 stars 7 forks source link

Depot: Order of operation creation issue with Domains and Teams #149

Open bmcdougald opened 8 years ago

bmcdougald commented 8 years ago

If you create a Domain before a Team (leaving team checkboxes blank effectively), the domain doesn't get a Team associated with it, which you'd expect at this point. If you then go to the Teams tab and create a team, select the checkbox for the Domain you created...once saved the Domain that you checked does not save/show with the Team. However, if you then go back to Domains, edit the domain you created and this time check the box for the Team (since you have one now)...then the Domain shows in both Tables.

Steps: 1 Create Domain, leave Team checkbox unchecked 2 Create Team and select the Domain from step 1 and save at this point the table will have a blank badge for Domain for that Team 3 Go to the Domain page again, edit the Domain created in step 1 to checkmark the Team. at this point both tables get updated. It seems that there may be some unidirectional linking during edit/creation in this order of operations.