Bug 684 - The client account is lost after registering with the same email
Summary: The client account is lost after registering with the same email
Status: CONFIRMED
Alias: None
Product: CS3343 Summer storage management system for CSSAUG
Classification: Unclassified
Component: Database (show other bugs)
Version: 2.0
Hardware: PC Mac OS
: --- critical
Assignee: xingchsha2
URL:
Depends on:
Blocks:
 
Reported: 2022-11-01 21:31 HKT by xingchsha2
Modified: 2022-11-01 21:31 HKT (History)
0 users

See Also:


Attachments
screenshot of the panel (66.29 KB, image/png)
2022-11-01 21:31 HKT, xingchsha2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xingchsha2 2022-11-01 21:31:13 HKT
Created attachment 116 [details]
screenshot of the panel

Describe the bug:
After the client registered another account with the same email address as an account in the database, the original account's storage information is transferred to the new account.
 
Steps to reproduce the bug:
1. pull down the latest version of the program from GitHub.
2. go to the xBox/src/app folder, and switch to the "Main.java" file.
3. run the "Main.java" file.
4. register a client account with the same email address as an account in the database.
5. log in to the newly registered account, and click the record summary button.

Expected result:
On the panel, the records of this newly registered account should be empty.

Actual result:
As in the snapshot, the original account's information is transferred to this new account.

Environment:
OS: MacOS Catalina 10.15.7 
IDE: Eclipse 2022-09
Version: 3.0
OpenJDK 17