Skip to content

[Bug]: Sharing single tracks doesn't work #3687

@duckfromdiscord

Description

@duckfromdiscord

I confirm that:

  • I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • I'm using the latest version (your issue may have been fixed already)

Version

0.54.4-SNAPSHOT (pr-2709/f814c983)

Current Behavior

Sharing an individual track (through the 3 dots and hitting "Share", then "Share") will give a link but when you go to that link it shows:

Error retrieving share

Expected Behavior

The share should work, as it does for sharing full albums.

Steps To Reproduce

  1. Go to an album
  2. Hover over a specific track and hit the 3 dots
  3. Hit share
  4. Hit share
  5. Go to the link it provides

Environment

- OS: Ubuntu Server
- Browser: Firefox
- Client: Web

How Navidrome is installed?

Docker

Configuration

Relevant log output

level=error msg="SQL: `SELECT media_file.*, library.path as library_path FROM media_file LEFT JOIN library on media_file.library_id = library.id WHERE (id IN ({:p0}) AND missing = {:p1})`" args="map[p0:[something] p1:false]" elapsedTime="...µs" error="ambiguous column name: id" requestId=[some request ID] rowsAffected=0
level=error msg="Error retrieving share" error="ambiguous column name: id" id=[some share ID] requestId=[some request ID]

Anything else?

No response

Code of Conduct

  • I agree to follow Navidrome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Released

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions