collective / collective.volto.formsupport

Enable support for customizable forms in Volto
GNU General Public License v2.0
2 stars 8 forks source link

Handle undefined values in form submission #39

Closed JeffersonBledsoe closed 8 months ago

JeffersonBledsoe commented 12 months ago

The form submission logic currently assumes that if a field is sent, it will have a value. While this is the normal case, we should be able to handle malformed requests

JeffersonBledsoe commented 9 months ago

@cekk Mind taking a quick look over this?

tiberiuichim commented 9 months ago

@JeffersonBledsoe the fix looks good to me, as far as I can tell it can be merged without any other approval. BTW, this was agreed in a conversation on discord, that collective.volto.formsupport is common responsability.