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

Internal server error after unpublishing an npm package #20670

Closed
AuspeXeu opened this issue Aug 4, 2022 · 1 comment · Fixed by #20675
Closed

Internal server error after unpublishing an npm package #20670

AuspeXeu opened this issue Aug 4, 2022 · 1 comment · Fixed by #20675

Comments

@AuspeXeu
Copy link

AuspeXeu commented Aug 4, 2022

Description

  1. npm publish a package to an organisation
  2. npm unpublish the package
  3. the package is still listed under the organisation
  4. click the package -> 500
  5. try to publish the same package + version -> 400 Bad Request - PUT https://[...] - Package version already exists

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Uploading image.png…

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

PostgreSQL

@KN4CK3R
Copy link
Member

KN4CK3R commented Aug 4, 2022

npm unpublish is not supported. If you want to, you can create a new "feature request" issue.

For the 500 error I have published a fix in #20675.

@lunny lunny added this to the 1.17.1 milestone Aug 5, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants