Closed foobarlab closed 11 years ago
A side-effect of using the 'name' attribute is that media with the same name can not be edited/tagged/assigned properly because always the first media having the 'name' attribute gets selected.
It seems like actually the 'name' instead of the 'file' attribute is quite often used as "unique key" for media identity. A quick fix for now is to disallow duplicate names for all media.
The use of the 'name' attribute is a bad choice for an unique key. Throughout the application the 'file' attribute seems to be used, therefore using this for the new media edit page seems adequate.