Registry uses filename from upload form to save in temporary directory
This can cause collisions when a room of 22 people all submit a datapackage with the same data file name....
The registry should ensure that filenames it uses to write in a shared directory are unique.
Updated by ben leinfelder over 9 years ago
I deployed the changes on dev2.nceas for testing. Feel pretty good about them - using File::Temp to manager unique uploads on the server.
One thing to note: you will see this mangled upload name in the submission review stage, but when you finalize the registration the original filename will be restored and used in the EML metadata as well as the xml_documents table (used for file downloads).