user A uploads nightsong.mp3
User B uploads nightsong.mp3

User B's file gets appended with _0 ie: nightsong_0.mp3
when user B's node is played, it plays User A's nightsong.mp3 file, because the node is still looking for the nightsong.mp3 and find it, albeit the incorrect file for that node.

How difficult would it be to have mediafield rewrite the filename of files uploaded to become the node# of the node its being added to? This would fix any and all duplications and other bugs listed where apostrophes affect files if the file being uploaded were to adopt the node/# it was being attached to. Though, I don't suppose this helps those with multiple file uploads on the same node. Maybe in that case we can append an _a - _z to the node/# and have the file name created?

Comments

vm’s picture

Title: duplicate file uploads problem » duplicate file uploads issue

If nothing else, the node should at least know and use the file which was already appended by core.

ie: if it uploads as nightsong_0.mp3 then the node should look for that file rather then nightsong.mp3

a_c_m’s picture

Status: Active » Closed (fixed)

This no longer seems an issue in HEAD, there will be a new dev release today/tomorrow, please test this again and re-open if its still an issue.