Bug #4048
closed
saving form with wrong values on LDAP raises 500 error
Added by Marcin Kuzminski [CTO] over 8 years ago.
Updated over 8 years ago.
Description
Basically failing test is: test_ldap_error_form_wrong_port_number, we should fix it it's a release blocker
- Status changed from New to In Progress
- Target version set to v4.2
The serialization of default values is not correct here. It leads to trouble if a validation error occures and also serializes python values like False to a string "false" which lead to a checked checkbox when displaying it. Fixed it by removing colanders serialize method and instead pass the schema defaults as default to self.plugin.get_setting_by_name()
- Status changed from In Progress to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF