Content-Length: 252657 | pFad | http://github.com/coder/coder/issues/19036

FF bug: Templates PATCH request issue · Issue #19036 · coder/coder · GitHub
Skip to content

bug: Templates PATCH request issue #19036

@sandhyatadi

Description

@sandhyatadi

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm trying to update the default_ttl_ms of the templates in coder throuch PATCH request using /api/v2/templates/{template_id}. The value for default_ttl_ms is updating as expected; however, I noticed that the icon is being removed from the template.

Relevant Log Output

Expected Behavior

No response

Steps to Reproduce

  1. Make sure atleast one template has an icon. Make a GET call to /api/v2/templates view all the templates metadata. there should be a value for the icon field
  2. Make a patch request using /api/v2/templates/{template_id} with the body {
    "default_ttl_ms": XXXX}
  3. make a GET all again to view the template metadata and see the icon field empty.

Environment

  • Host OS:
  • Coder version: V2

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue that require triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/coder/coder/issues/19036

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy