Replacing filled jukeboxes using the /setblock or /fill command (or /clone move) drops the record.
How to reproduce
- Place a jukebox and put a record in it
- Use the following command while standing on them
/setblock ~ ~ ~ air replace
→ The record will drop, even though the command is set to replace and not destroy