Opened 11 years ago

Closed 11 years ago

#631 closed defect (duplicate)

When name of upload conflicts with existing media, mg uses the id number, but does not check whether an exisiting item is named that.

Reported by: Simon Fondrie-Teitler Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


e.g. I name the fifth picture I upload 7. I then upload another picture and name it "leaf". I then upload another picture, also named "leaf". The url for the first picture and the last picture will be

This also happens if a I upload a picture with a name conflict, then another picture with the name being the id number of the conflicting picture. i.e. I upload a picture named "leaf", then another picture name "leaf". The second picture gets the url I then upload a picture with the name "17", which gets the same url.

Change History (2)

comment:1 by Emily O'Leary, 11 years ago

Tested with Git Master (fc6616e) on February 11th, 2013. It no longer uses the ID but takes the non-unique name and appends an identifier to the end (looks sort of like a Hash?).

Create two items named Taiga. One gets named "taiga-525e". I tried creating an "taiga-525e" again and that creates "taiga-525e-1588"

comment:2 by Simon Fondrie-Teitler, 11 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.