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

UI: e.templateRef is undefined when using inline template #9167

Closed
3 tasks
antoinetran opened this issue Jul 18, 2022 · 5 comments · Fixed by #9168
Closed
3 tasks

UI: e.templateRef is undefined when using inline template #9167

antoinetran opened this issue Jul 18, 2022 · 5 comments · Fixed by #9168
Labels
area/ui solution/duplicate This issue or PR is a duplicate of an existing one type/bug type/regression Regression from previous behavior (a specific type of bug)

Comments

@antoinetran
Copy link

antoinetran commented Jul 18, 2022

Checklist

  • Double-checked my configuration.
  • Tested using the latest version.
  • Used the Emissary executor.

Summary

What happened/what you expected to happen?
Creates a simple workflow with inline template. It should succeed.

What version are you running?
Argo v3.2.11

Diagnostics

Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.

From https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/steps-inline-workflow.yaml:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: steps-inline-
  labels:
    workflows.argoproj.io/test: "true"
  annotations:
    workflows.argoproj.io/description: |
      This workflow demonstrates running a steps with inline templates.
    workflows.argoproj.io/version: ">= 3.2.0"
spec:
  entrypoint: main
  templates:
    - name: main
      steps:
        - - name: a
            inline:
              container:
                image: argoproj/argosay:v2

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@antoinetran
Copy link
Author

This bug is exactly like #7749

@antoinetran
Copy link
Author

antoinetran commented Jul 18, 2022

Error image:
image

@antoinetran
Copy link
Author

I can add that the error does not appear in v3.2.0.

terrytangyuan added a commit to terrytangyuan/argo-workflows that referenced this issue Jul 18, 2022
…#9167

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan
Copy link
Member

Thanks for reporting. This should be fixed in #9168.

@terrytangyuan terrytangyuan added the type/regression Regression from previous behavior (a specific type of bug) label Jul 18, 2022
alexec pushed a commit that referenced this issue Jul 18, 2022
…9168)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@alexec alexec added the area/ui label Sep 6, 2022
reddymh pushed a commit to reddymh/argo-workflows that referenced this issue Jan 2, 2023
…#9167 (argoproj#9168)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Reddy <Rajshekar.Reddy@lowes.com>
@agilgur5 agilgur5 changed the title bug(argo-ui) "e.templateRef is undefined" when using inline template UI: e.templateRef is undefined when using inline template Apr 22, 2024
@agilgur5 agilgur5 added the solution/duplicate This issue or PR is a duplicate of an existing one label Apr 22, 2024
@agilgur5
Copy link
Member

agilgur5 commented Apr 22, 2024

Marking this as duplicate of #7749 per #9168 (comment).
#7605 did fix this, it was just never backported to 3.2.x

@argoproj argoproj locked as resolved and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ui solution/duplicate This issue or PR is a duplicate of an existing one type/bug type/regression Regression from previous behavior (a specific type of bug)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants