blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

Target management page saves targets with spaces in their name despite warning in validation #209

Closed kflores772 closed 10 years ago

kflores772 commented 10 years ago
  1. Input a target with a space in the name (ex 'aaa aaa').
  2. Input other necessary fields.
  3. Click 'update target list' Output: warning here saying spaces are not permitted in names
  4. Create a new target with correct fields
  5. Click 'update target list'
  6. Notice that the new target is added to the list as well as 'aaa aaa'
jengee commented 10 years ago

Occurs on 2.1.0.13 where users could specify it as SIM name. The output comes out as the following: The target "My" does not exist, to add that target please run: target add My [-t | --type <device | simulator>] [-p ] [--pin ]

Work around is that users would just rename the SIM in the UI with no space.