Werk #22808 · Oct 19, 26
Forms: no crash on file upload fields
Saving or validating settings that contain a file upload field in a
form of the older type (for example certificate or key uploads in
notification parameters or in the agent updater rule) could fail with
a crash report showing TypeError: Only str and unicode values are
allowed. This also affected the REST API endpoints for configuration
entities.
The form no longer crashes. Uploading a file is still not possible in these forms, though: if an upload field is selected, required or optional, the form now reports that file uploads are not supported here. Where the field offers it, paste the content instead.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p18All Editions
- 2.4.0p39All Editions