Integer field of Code Sources cannot be empty
Bug #106231 reported by
Samuel Schluep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If an integer parameter field in a Code Source that is not required is left empty an error occurs when the Code Source is executed:
[external source element is broken]
error message: invalid literal for int():
It seems, that SilvaExternalSo
For example the dLCMS Code Source ms_video has two integer fields, width and height, that are not required. For the moment I have changed the integer fields in ms_video to StringFields. This solves the problem at the moment.
Changed in silva: | |
assignee: | nobody → aaltepet |
Changed in silva: | |
assignee: | aaltepet → nobody |
Changed in silva: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Changed _cast_value to return None if there is no value for the Integer Field.