Commit 9d2d481e authored by Romain Therville's avatar Romain Therville 🐭
Browse files

#114 space_id set in Analysis

parent a9ccaa62
......@@ -67,6 +67,10 @@ class BasicNG6Workflow (Workflow):
cmpt_object.parent = parent
if addto == "project": cmpt_object.project = self.project
elif addto == "run": cmpt_object.run = self.runobj
#We replace the default space_id
if cmpt_object.space_id == "default" and cmpt_object.space_id != cmpt_object.run.space_id:
cmpt_object.space_id = cmpt_object.run.space_id
# link analysis with ots create user
cmpt_object.admin_login = self.admin_login
# there is a dynamic component
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment