Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 涉及文本下拉框变量的模板(父流程引用子流程文本值下拉框变量),计划任务、api 任务创建失败 #7479 #7484

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pipeline_plugins/variables/collections/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def process_info_value(cls, info_value):

@classmethod
def process_meta_value(self, meta_data, info_value):
if isinstance(meta_data["value"], str):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里可能需要加下注释,什么情况下会是 str,为什么

meta_data = meta_data["meta"]
if meta_data["value"]["datasource"] == "1":
# 远程数据源模式下需要记录拉取的数据而不是 URL
meta_value = meta_data["value"]["remote_data"]
Expand Down
Loading