planetfederal / qgis-webappbuilder-plugin

GNU General Public License v3.0
18 stars 20 forks source link

issue with editing WFS-T layers #408

Closed gioman closed 7 years ago

gioman commented 7 years ago

WFS-T seems to work in general (unlike now the simple "draw feature" widget), but there is an issue:

if the user fill an attribute with a value that does not match the column (for example uses text in a column that is numeric) then on save the error message shows

screenshot_20170530_170405

after this correcting the value do result in the possibility to click on "save" as the button nows does nothing. The only possibility is to click cancel and do all over again.

If possible of curse the attributes form should have a check/control to refuse let the user fill the field with an inappropriate value (compared to the column type).

bartvde commented 7 years ago

yeah we don't have any client-side validation right now, but re-submitting should be possible I'll look into that

bartvde commented 7 years ago

selection_287

bartvde commented 7 years ago

ah I see what is happening, it's transforming a polygon to a multipolygon twice

gioman commented 7 years ago

@bartvde if I do "paver setup --master" I should e able to test this, right? at least on previews, right?

bartvde commented 7 years ago

right

gioman commented 7 years ago

fix confirmed using sdk master on a webapp preview.