Edit consistency group form has an exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
wei.ying |
Bug Description
Env: devstack master branch
If old description is empty and submit edit consistency group form,it will throws an exception.
Exception info:
[06/Apr/2017 15:16:58] "GET /project/
Internal Server Error: /project/
Traceback (most recent call last):
File "/usr/local/
response = wrapped_
File "/opt/stack/
return view_func(request, *args, **kwargs)
File "/opt/stack/
return view_func(request, *args, **kwargs)
File "/opt/stack/
return view_func(request, *args, **kwargs)
File "/opt/stack/
return view_func(request, *args, **kwargs)
File "/usr/local/
return self.dispatch(
File "/usr/local/
return handler(request, *args, **kwargs)
File "/usr/local/
if form.is_valid():
File "/usr/local/
return self.is_bound and not self.errors
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
cleaned_data = self.clean()
File "/opt/stack/
if len(old_desc):
TypeError: object of type 'NoneType' has no len()
Changed in horizon: | |
assignee: | nobody → wei.ying (wei.yy) |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → pike-1 |
Fix proposed to branch: master /review. openstack. org/454238
Review: https:/