cubicweb #12022688 Crash in pyramid_cubicweb after a validation error due to file in session data [open]
CubicWebPublisher.validation_error_handler puts the complete web form in the session data. In particular, in my case, a posted file. This makes pyramid_cubicweb crash when trying to serialize the session data, as follows:
2016-04-02 15:17:34 - (pyramid_cubicweb.session) ERROR: Error in _set_cookie
As a workaround, I remove the file from the web form, before the validation error is handled by the CubicWebPublisher.
|done in||<not specified>|
|closed by||<not specified>|