Skip to content

[BUG]-在编辑pipeline.yml或.erda目录下的yml文件出错 #4068

@oslet

Description

@oslet

Your issue may already be reported!
Please search on the issue tracker before creating one.

Expected Behavior

在打开erda后端项目pipeline.yml文件时,后端接口可正常返回信息,前端报错:
error: TypeError: can't access property "x", t is undefined

Current Behavior

在打开erda后端项目pipeline.yml文件时,后端接口可正常返回信息,前端报错:
error: TypeError: can't access property "x", t is undefined

Possible Solution

Steps to Reproduce (for bugs)

  1. 兼容普通的yml文件,若不能图形化流水线,退而打开文件进行编辑
  2. 前端校验格式或给出相应的模板

Context

Your Environment

  • Version used: commit: a847328
  • Npm version: node v14.21.3, npm: 6.14.18
  • Browser Name and version: firefox 143.0.1
  • Operating System and version (desktop or mobile): ubuntu 24.04
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions