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

Check property ok with UI but not with as code #5796

Open
marie-j opened this issue Apr 19, 2021 · 1 comment
Open

Check property ok with UI but not with as code #5796

marie-j opened this issue Apr 19, 2021 · 1 comment

Comments

@marie-j
Copy link
Contributor

marie-j commented Apr 19, 2021

Hello,

When trying to edit as code a workflow, there is an error saying additionalProperty "check" exists in instance when not allowed which prevents from doing anything with as code.
However if we go through UI and "Edit the context" it works and the check property is generated automatically in the as code

Example :

  pipeline:
    conditions:
      check:
      - variable: cds.manual
        operator: eq
        value: ""
@marie-j
Copy link
Contributor Author

marie-j commented Apr 19, 2021

Found what the issue was, I had another condition that was causing conflicts, maybe the "Edit context" should also prevent adding checks if not valid ?

@marie-j marie-j closed this as completed Apr 19, 2021
@marie-j marie-j reopened this Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant