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

LiteralData with allow values is not handled correctly #207

Closed bartvde closed 9 years ago

bartvde commented 9 years ago

This came up in SUITE-1141

                <LiteralData>
                    <ows:DataType>xs:double</ows:DataType>
                    <ows:AllowedValues>
                        <ows:Range ows:rangeClosure="closed-open">
                            <ows:MinimumValue>0.0</ows:MinimumValue>
                        </ows:Range>
                    </ows:AllowedValues>
                </LiteralData>

shows up as:

screen shot 2015-08-03 at 07 36 07

bartvde commented 9 years ago

AllowedValues is now always translated to a combobox, but in this case it should not.

bartvde commented 9 years ago

capStyle from buffer is a good one to test for regressions after this change

screen shot 2015-08-03 at 09 01 16

bartvde commented 9 years ago

What is not done yet is actually using the info for validation purposes (MinimumValue and closed or open range).