aws / aws/aws-toolkit-visual-studio

Connect to DynamoDB Local dialog validation uses list selection all the time

Open
#50 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
135
Forks
37
PR merge metrics
No merged PRs in 30d

Description

If you uncheck "Start new DynamoDB Local process", the list selection is still used in validation.
If a list item is not selected (shown in image below), the error "You must select a version of the DynamoDB Local to start." is shown.

![image](https://user-images.githubusercontent.com/39839589/70835108-f6c86800-1db0-11ea-9528-669b0bfefbd3.png)

Fix the dialog validation to not use the list selection when the checkbox is unchecked.

---

Workaround:
* Check "Start new DynamoDB Local process"
* Install one of the versions if none are installed (this downloads a jar file)
* Select one of the installed version rows
* Uncheck "Start new DynamoDB Local process"
Now when you click Ok, it will use your existing DynamoDB Local host

Related: #47

Contributor guide

Open the contributing guide

Research direction

Start by locating the “Connect to DynamoDB Local” dialog and its validation logic, then reproduce the case where “Start new DynamoDB Local process” is unchecked and no list row is selected. Done means that validation accepts the unchecked state while still requiring a selected version when the checkbox is checked; verify both paths in the dialog.

Written by the indexing model from the issue text.

Assessment

Domain
databases, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.