kubero-dev / kubero-dev/kubero

Getting 404 trying to edit runpack - Missing PUT method

Open
#704 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
4.4k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

Which component(s) is affected?

No response

Describe the bug

When i've tried to edit a runpack, nothing happened.

After investigate and and analyze the source code, I didn't found the PUT method in configController. There is only GET DELETE and POST

https://github.com/kubero-dev/kubero/blob/429e8346a9709541e7262d9cc191895e909fbb37/server/src/config/config.controller.ts#L104

Steps to reproduce

At first:

  • Open Dev Console in your browser
    • Go to: Network tab.

In KUBERO-UI:

  • Go to: Settings -> runpacks
    • Click in Edit, make some change and hit 'save'

After that will notice 404

Expected behavior

Get 200 when try to edit runpacks

Screenshots
Image
Image
Additional information

No response

Debug information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in server/src/config/config.controller.ts around line 104 and inspect the existing GET, DELETE, and POST handlers for the runpack configuration. Reproduce the edit flow from Settings → runpacks and confirm that saving a change currently returns 404; done means the request returns 200 and the edited runpack is saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.