Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build button does not work when editing template (if tempalte is invalid) #16609

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
1 task done
Cjkjvfnby opened this issue Feb 18, 2025 · 2 comments
Open
1 task done
Assignees
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard

Comments

@Cjkjvfnby
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Nothing happens in UI when button is pressed (if template is invalid).

Relevant Log Output

POST https://****/api/v2/organizations/coder/templateversions

STATUS: 500

message	"Internal error checking workspace tags"
detail	'parse module: Argument or block definition required: An argument or block definition is required here. To set an argument, use the equals sign "=" to introduce the argument value.'

Expected Behavior

Error message is shown to user.

Message explains what happen and provide recommendation for the next steps.

Something like:
"Template is not valid, please fix it and build again: {message}"

Steps to Reproduce

  1. Open Template Edit window
  2. Type. "HELLO" at the first string
  3. Open browser development console
  4. Click build
  5. Check for response 500 in the browser development console

Environment

Additional Context

The issue occurs consistently

@Cjkjvfnby Cjkjvfnby added the needs-triage Issue that require triage label Feb 18, 2025
@matifali matifali added site Area: frontend dashboard s2 Broken use cases or features (with a workaround). Only humans may set this. and removed needs-triage Issue that require triage labels Feb 18, 2025
@matifali
Copy link
Member

cc: @BrunoQuaresma

@matifali
Copy link
Member

Related to #16022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

3 participants