kubero-dev / kubero-dev/kubero
Getting 404 trying to edit runpack - Missing PUT method
Nobody has claimed this yet.
- 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
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
Additional information
No response
Debug information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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