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

Inputs validation UI throws "Form error Invalid field: XYZ" for any input #5639

Closed
anna-geller opened this issue Oct 23, 2024 · 2 comments · Fixed by #5648
Closed

Inputs validation UI throws "Form error Invalid field: XYZ" for any input #5639

anna-geller opened this issue Oct 23, 2024 · 2 comments · Fixed by #5648
Assignees
Labels
area/frontend Needs frontend code changes bug Something isn't working kind/blocker Urgent blocker that needs immediate resolution kind/bugfix-needed Issue that needs to be addressed in the next bugfix release

Comments

@anna-geller
Copy link
Member

anna-geller commented Oct 23, 2024

Any parametrized flow currently gives UI validation errors on develop (the execution can be created just fine though):

reproducer:

id: hello_world
namespace: tutorial
description: Hello World
inputs:
  - id: user
    type: STRING
    defaults: Rick Astley
tasks:
  - id: first_task
    type: io.kestra.plugin.core.debug.Return
    format: thrilled
  - id: second_task
    type: io.kestra.plugin.scripts.shell.Commands
    commands:
      - sleep 0.42
      - echo '::{"outputs":{"returned_data":"mydata"}}::'
  - id: hello_world
    type: io.kestra.plugin.core.log.Log
    message: |
      Welcome to Kestra, {{ inputs.user }}! 
      We are {{ outputs.first_task.value}} to have You here!

image

image

Environment

  • Kestra Version: develop
@anna-geller anna-geller added bug Something isn't working area/backend Needs backend code changes area/frontend Needs frontend code changes labels Oct 23, 2024
@MilosPaunovic MilosPaunovic self-assigned this Oct 23, 2024
@schmanat
Copy link

The same bug also exists in version 0.19.5

@anna-geller anna-geller added kind/blocker Urgent blocker that needs immediate resolution kind/bugfix-needed Issue that needs to be addressed in the next bugfix release labels Oct 24, 2024
@anna-geller
Copy link
Member Author

confirmed, 0.19.5 affected

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Needs frontend code changes bug Something isn't working kind/blocker Urgent blocker that needs immediate resolution kind/bugfix-needed Issue that needs to be addressed in the next bugfix release
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants