Skip to content

[Bug Report]: TaskNodeFactory 的props 值为空时,报出xml格式不正确 #2125

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

Open
4color opened this issue Apr 14, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@4color
Copy link

4color commented Apr 14, 2025

发生了什么?

const props = {"value":""};
export const userTaskExtend = TaskNodeFactory('bpmn:userTask', icon,props)

导出xml变成了

  <bpmn:process isExecutable="true" id="Process_0d3c538">	
    <bpmn:userTask id="Activity_eaad833"	
      <-value /> width="100" height="80" />	
  </bpmn:process>	

logicflow/core版本

2.0.12

logicflow/extension版本

2.0.16

logicflow/engine版本

No response

浏览器&环境

Microsoft Edge

@4color 4color added the bug Something isn't working label Apr 14, 2025
Copy link

github-actions bot commented Apr 14, 2025

由于所提供信息的不充分,该 issue 被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2025
@wumail wumail reopened this Apr 14, 2025
@DymoneLewis DymoneLewis assigned DymoneLewis and wumail and unassigned DymoneLewis Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants