List(type=Enum(...)) not supported
Bug #136806 reported by
Marc Tardif
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Undecided
|
James Henstridge |
Bug Description
When attempting to set a variable of the following type:
List(
The attached error is returned. The problem seems to be in the set() method of the Variable base class:
if from_db:
So, if from_db is set, the the _parse_set method of the EnumVariable class will return "a" for "a". However, since from_db is set, then the same "a" value will be passed to the _parse_get method which will not be found in the _get_map dictionary.
Related branches
lp:~jamesh/storm/bug-136806
- Jamu Kakar (community): Approve
- Thomas Herve (community): Approve
- Diff: 115 lines
Changed in storm: | |
assignee: | nobody → jamesh |
status: | New → In Progress |
Changed in storm: | |
milestone: | none → 0.15 |
Changed in storm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix merged to trunk in r301.