blackberry / VSPlugin

Visual Studio Plugin for BlackBerry Native SDK
9 stars 15 forks source link

[3.0.0015] IP Address field is accepting alphanumeric key values #707

Open srinivas4912 opened 9 years ago

srinivas4912 commented 9 years ago

Environment: System OS: Win 8.1 64-bit and Win 7 64-bit

Steps to Reproduce: 1) Go to BlackBerry > Options... 2) Select BlackBerry > Targets 3) Click on Add... Button, Add New Target Device dialog appears 4) Select the type as Wi-Fi device, enter name as "USB", enter IP as "USB123", enter password and click on OK 5) Target is created and display on the target dialog

Actual Result: IP address field is accepting alphanumeric keys

image

Expected Result: Validate the IP address field and allow only numeric key values.

phofman commented 9 years ago

I think your assumptions are wrong here. This is the tool for developers and it's meant to be easy-to-use. Why do we need to limit developers, who usually know, what they are doing? Does inserting 'USB1234' or 'USB' caused an exception, crash or any other unexpected behavior beside inability to connect? Please instead of it try to put valid network name of any of your phones. It will connect without problems, you will be able to upload your application (if you marked this device as 'active') and Target Navigator will let you move over remote file system. I don't see any reason, why to allow only numerical values.

Suggestion: ticket invalid / reject