Cannot create an ad-hoc action from another ad-hoc action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Xavier Hardy |
Bug Description
As an action creator, I must be able to create ad-hoc actions from other ad-hoc actions. Doing so result in a 500 Internal Server error message:
```
AttributeError: 'NoneType' object has no attribute 'rpartition'
Traceback (most recent call last):
File "/home/
res = self.dispatcher
File "/home/
return self._do_
File "/home/
result = func(ctxt, **new_args)
File "/home/
**params
File "/home/
return func(*args, **kw)
File "/home/
action.
File "/home/
desc=desc
File "/home/
self.
File "/home/
return _has_argument(
File "/home/
action_cls = action_
File "/home/
action_class = importutils.
File "/home/
mod_str, _sep, class_str = import_
AttributeError: 'NoneType' object has no attribute 'rpartition'
```
Changed in mistral: | |
assignee: | nobody → Michal Gershenzon (michal-gershenzon) |
Changed in mistral: | |
assignee: | Michal Gershenzon (michal-gershenzon) → Xavier Hardy (xavier-hardy) |
Changed in mistral: | |
importance: | Undecided → High |
milestone: | none → newton-2 |
Changed in mistral: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/334312 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=024d93801d7 c26651a9c021323 611be7a8dc6fa4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 024d93801d7c266 51a9c021323611b e7a8dc6fa4
Author: Xavier Hardy <email address hidden>
Date: Mon Jun 27 10:25:41 2016 +0200
Support recursive ad-hoc action definitions
A ad-hoc action can be based on another ad-hoc actions,
allowing several level of abstractions in actions.
Change-Id: I321bbf798b2801 041a83530152d0c d73d8bc7c01
Closes-Bug: #1591217