Open gregorykan opened 6 years ago
hmm, i couldn't reproduce?
conditions isolated - leftover state residue locally?
note the two order objects in the screenshot below. order id 2
was actually created by agent id 4
, however it shows up as belonging to agent id 1
(adminAgentId),
reproduced!
not fixed by #348
this means it's probably an issue with the feathers websocket connection, as in it keeps the authentication token from the previous logged in user, which means the new order is created as if it were from the old user.
or we're somewhere storing state in the epic: https://github.com/root-systems/dogstack-agents/blob/master/authentication/epic.js. but i can't find anything, either server or epic.