#4 — ComboBoxWidget takes an empty value and sets it as an empty list
by
Mark Gibson
—
last modified
Aug 06, 2010 12:57 PM
| State | Resolved |
|---|---|
| Version: |
—
|
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Mark Gibson |
| Submitted on | May 19, 2008 |
| Responsible | Maurits van Rees |
| Target release: | 1.4.3 |
I have a ComboBoxWidget on a String field that isn't required. When I create an object, and I don't set a value for the field, the value gets set as an empty list i.e. []. Since the purpose of the ComboBoxWidget is to set only one value, this is a bug. To be more precise, the accessor for the field returns an empty list.
If a set the value to a string, the value gets returned appropriately.
If a set the value to a string, the value gets returned appropriately.
Added by
Maurits van Rees
on
Aug 06, 2010 12:27 PM
This looks almost the same as issue #12, so a similar fix should do the trick. Fixed in r12986.
Issue state:
Unconfirmed
→
Resolved
Responsible manager:
(UNASSIGNED)
→
maurits
Target release:
None
→
1.4.3
Added by
Maurits van Rees
on
Aug 06, 2010 12:57 PM
Target release:
→
1.4.3
No responses can be added.
If you can, please log in before submitting a reaction.
