-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Description
Create a demo and bring it down using docker-compose down. It retains the volumes. The next demo that is created still points to the previous data volumes and gives misleading messages while creating user and shop.
Steps to Reproduce
- Create a new demo from scratch using
reaction create-project demo demo1. Create a user with username[email protected]and a shop. - Next
cd demo1,docker-compose downand check for volumes usingdocker volume ls, you will finddemo1_mongo-db4demo cd ..and create a new demo usingreaction create-project demo demo2. Create the same user with username[email protected], it gives a user exists error from GraphQL. Try creating a different user, it prompts for new shop creation. When you click create shop it gives an Access denied error from GraphQL.
Possible Solution
Two different demos should be working independently as we are currently not imposing any limits on demo. Following dev platform we could limit it to one demo per installation.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working