[Nailgun] '{ }' symbols not properly processed for plugin attributes values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Andriy Popovych |
Bug Description
Steps to reproduce:
1. Install some plugin with text field or text area as types for plugin attributes.
2. Create env and enable plugin.
3. Input '{' or '}' in plugin text field or text are.
Expected result:
Symbols properly stored.
Actual result:
Exception raised:
Traceback (most recent call last):
File "/sources/
resp = func(cls, *args, **kwargs)
File "/sources/
cluster, all_plugins_
File "/sources/
return cls.get_
File "/sources/
keywords=
File "/sources/
value, formatter, formatter_context, keywords
File "/sources/
value, formatter, formatter_context, keywords
File "/sources/
value, formatter, formatter_context, keywords
File "/sources/
for i in data
File "/sources/
for i in data
File "/sources/
value, formatter, formatter_context, keywords
File "/sources/
value, formatter, formatter_context, keywords
File "/sources/
return formatter(data, formatter_context)
File "/sources/
raise ValueError("Cannot format {0}: {1}".format(data, e))
ValueError: Cannot format {}: tuple index out of range
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/312986
Review: https:/