Error Description:
After a branch is created, the following message is displayed:

In the dev console, there is this:

To replicate:
- Go to the admin dashboard
- Create a new branch
- See error.
Possible cause:
When a new branch is created, there are two subsequent requests:
GET /branches/{id}/groups
GET /branches/{id}/members
The problem is that we're adding the new branch to the core's store after it has gone through the event pipe, lambdas and back to core, but the requests from the UI get to the core before the new branch is added to the store which is why those two requests get a 404 error.
The following diagram is for reference about the branch creation flow:

Error Description:
After a branch is created, the following message is displayed:
In the dev console, there is this:
To replicate:
Possible cause:
When a new branch is created, there are two subsequent requests:
GET /branches/{id}/groupsGET /branches/{id}/membersThe problem is that we're adding the new branch to the core's store after it has gone through the event pipe, lambdas and back to core, but the requests from the UI get to the core before the new branch is added to the store which is why those two requests get a
404error.The following diagram is for reference about the branch creation flow: