AY2223S2-CS2103T-W15-1 / tp

https://ay2223s2-cs2103t-w15-1.github.io/tp/
MIT License
0 stars 4 forks source link

[PE-D][Tester E] Open Command invalid command calls not handled appropriately #193

Closed nus-pe-bot closed 1 year ago

nus-pe-bot commented 1 year ago

Description

open command to open a social media platform of an existing contact does not work as expected.\ This is an interesting and useful feature to implement but it has some flaws.

According to the user guide and the command result box, there is nothing that tells the user that open PERSON_INDEX is an invalid command format, and that at least one of the parameters tg/, wa/ or ig/ has to be specified. In fact, open PERSON_INDEX seems like a valid command from the way that it was documented, however, the results are of no use to the user.

Steps to Reproduce

Case 1: no social media
  1. add n/unique person name
  2. search n/unique person name
  3. open 1
Case 2: only 1 social media

Using the sample data provided

  1. open 5
Case 3: multiple social medias

Using the sample data provided

  1. open 1

Expected Output

Case 1: no social media / Case 3: multiple social medias

Command Result Box showing some form of an error message

Case 2: only 1 social media

Open the only social media available

Actual Output

Notice the command box, but no external application was opened

image.png

image.png


Labels: severity.Medium type.FunctionalityBug original: joytqt-1202/ped#4