Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 391
    • Issues 391
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhale
  • funkwhalefunkwhale
  • Issues
  • #1349

Closed
Open
Created Mar 02, 2021 by gammelalf@gammelalf

/api/v1/uploads/{uuid} gives 404 on skipped upload

I'm trying to write a python wrapper for the api and automate uploading with it.

When I upload the same track twice, the uuid returned by the second upload request leads into nowhere.

I have checked the db using the django admin interface:

  • The second upload exists
  • Its uuid was returned correctly
  • When I change its import status to Finished instead of Skipped, it works normally

Steps to reproduce

  1. Upload a song twice, so the second upload gets marked as skipped
  2. Try to get the second upload via /api/v1/uploads/{uuid} (it returns 404)

Bonus Steps

  1. Edit the import status of the second upload in the db and set it to Finished
  2. Try again (now it works)

What happens?

It returns a 404

What is expected?

It should return the same data which it would, if the upload hadn't been skipped.

Context

Tried it on two different funkwhale instances, both version 1.0.1+git.68bc76bc.

Edited Apr 09, 2021 by funkwhale-bot
Assignee
Assign to
Time tracking