blackberry / webworks-gui

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

UI allows the addition of "" in the access list #39

Closed jengee closed 10 years ago

jengee commented 10 years ago

UI allows the addition of "" in the access list.

Which will cause problems when building:

C:\Users\jgee\WebWorks Projects\temp_proj>webworks build [BUILD] Populating application source [BUILD] Parsing config.xml [ERROR] Error: Invalid URI attribute in the access element - protocol required(23) An error has occurred

The UI shouldn't allow you to add something that you can't build it anyway.

image

rcruz commented 10 years ago

There is currently no validation for most fields in the GUI. Validation requires creating and maintaining a system in which all possible valid values are checked and kept up to date for all fields the user can enter info. To tackle this issue, we need to build this system.