Broken UI after register with existing data
Sh1karno opened this issue · 1 comments
Sh1karno commented
PC
- Register page shuld be open
- User should be registered
STR
- enter existing email in database
- enter valid password
- click on register button
ER
the error "emeil already exists" should be displayed
AR
the error is not displayed, an infinite loading occurs, if the refresh of the UI page is disabled
API Log:
2019-08-23T16:41:28.724876+00:00 app[web.1]: 2019-08-23T16:41:28.724Z - �[31merror�[39m: Failed to create new user test@test.com
2019-08-23T16:41:28.725608+00:00 app[web.1]: 2019-08-23T16:41:28.724Z - �[31merror�[39m: message=E11000 duplicate key error index: heroku_xjgn5lw6.users.$username_1 dup key: { : "test@test.com" }, stack=MongoError: E11000 duplicate key error index: heroku_xjgn5lw6.users.$username_1 dup key: { : "test@test.com" }
2019-08-23T16:41:28.725611+00:00 app[web.1]: at Function.create (/app/node_modules/mongodb-core/lib/error.js:43:12)
2019-08-23T16:41:28.725613+00:00 app[web.1]: at toError (/app/node_modules/mongodb/lib/utils.js:149:22)
2019-08-23T16:41:28.725619+00:00 app[web.1]: at coll.s.topology.insert (/app/node_modules/mongodb/lib/operations/collection_ops.js:859:39)
2019-08-23T16:41:28.725620+00:00 app[web.1]: at /app/node_modules/mongodb-core/lib/connection/pool.js:397:18
2019-08-23T16:41:28.725629+00:00 app[web.1]: at process._tickCallback (internal/process/next_tick.js:61:11), driver=true, name=MongoError, index=0, code=11000, errmsg=E11000 duplicate key error index: heroku_xjgn5lw6.users.$username_1 dup key: { : "test@test.com" }
Sh1karno commented
RETEST:
- Imposible to register with existing data
TEST RESULT:
AR=ER bug can be closed