[GH-ISSUE #1740] Bulk editing song metadata clears track numbers #957

Closed
opened 2026-02-26 02:34:44 +03:00 by kerem · 0 comments
Owner

Originally created by @iztokbajcar on GitHub (Jan 12, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1740

Describe the bug
When editing metadata of multiple songs at once (e.g. changing genre), the track number of all those song is cleared even if it is set to "Leave unchanged".

To reproduce
Steps to reproduce the behavior:

  1. Select two or more songs
  2. Right click, then click on 'Edit...'
  3. Alter the value of one of the fields other than Track (e.g. Genre) while leaving the Track field on 'Leave unchanged'
  4. Click 'Update'

Expected behavior
The songs' track info should remain unchanged, as indicated by the 'Leave unchanged' value.

Screenshots
Before editing:
Screenshot_20240112_210655

Metadata edit example (Genre was changed to 'Rock'):
Screenshot_20240112_210819

The state after editing the songs:
Screenshot_20240112_210959

Environment

  • Koel version: 6.12.0
  • OS: Arch Linux
  • Browser: Firefox 121.0
  • PHP version: 8.1.8
  • Node version: N/A

Additional context
The server is running as a Docker container.

Originally created by @iztokbajcar on GitHub (Jan 12, 2024). Original GitHub issue: https://github.com/koel/koel/issues/1740 **Describe the bug** When editing metadata of multiple songs at once (e.g. changing genre), the track number of all those song is cleared even if it is set to "Leave unchanged". **To reproduce** Steps to reproduce the behavior: 1. Select two or more songs 2. Right click, then click on 'Edit...' 3. Alter the value of one of the fields other than Track (e.g. Genre) while leaving the Track field on 'Leave unchanged' 4. Click 'Update' **Expected behavior** The songs' track info should remain unchanged, as indicated by the 'Leave unchanged' value. **Screenshots** Before editing: ![Screenshot_20240112_210655](https://github.com/koel/koel/assets/50874197/43a4b574-4866-4879-b8eb-28d61a578786) Metadata edit example (Genre was changed to 'Rock'): ![Screenshot_20240112_210819](https://github.com/koel/koel/assets/50874197/79a3bdab-5725-4f59-b27d-ec37512e0d9e) The state after editing the songs: ![Screenshot_20240112_210959](https://github.com/koel/koel/assets/50874197/c7f5450a-3f0e-4a16-84b0-9857f468a2ea) **Environment** - Koel version: 6.12.0 - OS: Arch Linux - Browser: Firefox 121.0 - PHP version: 8.1.8 - Node version: N/A **Additional context** The server is running as a Docker container.
kerem 2026-02-26 02:34:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#957
No description provided.