planetfederal / wps-gui

Graphical User Interface (Model Builder) for OGC:WPS (Web Processing Services)
http://boundlessgeo.com
Apache License 2.0
27 stars 15 forks source link

error clicking on features input when there are no features #114

Closed sbalasub closed 10 years ago

sbalasub commented 10 years ago

When there are no features, clicking on features I get this error wpsui.js:188 Uncaught TypeError: Cannot read property 'length' of undefined

solution is to display empty /no drop down list and a draw option.

bartvde commented 10 years ago

to clarify, this means there are no vector layers on the WFS instance, and FeatureTypeList is not present

see: https://dpaste.de/cJBn