forcedotcom / forcedotcom/commerce-on-lightning

Too much cache for display user

Open
#163 2 comments 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
TypeScript
Stars
84
Forks
84
Avg merge
1m
Merged PRs (30d)
1

Description

When I ran command below:
```
commerce:store:display -n 1commerce -u sampleScratch -b samplebuyer@1commerce.com
```
and try it with another buyer
```
commerce:store:display -n 1commerce -u sampleScratch -b buyer@1commerce.com
```
same password was return.

### Suggested Solution
remove code returning cached userInfo [here](https://github.com/forcedotcom/commerce-on-lightning/blob/develop/src/commands/commerce/store/create.ts#L201)

Contributor guide

Open the contributing guide

Research direction

Start in src/commands/commerce/store/create.ts at the linked line where cached userInfo is returned. Run the two commerce:store:display commands from the issue with their different buyer emails and verify that the returned password is no longer incorrectly identical for both buyers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.