Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Easy
Description
When a user uploads an input file, that files goes into a staging directory (the user's "tmp" directory). If a user uploads two input files with the same name, the second one will be renamed with some random characters added to the end of the name (see https://docs.djangoproject.com/en/4.2/ref/files/storage/#django.core.files.storage.Storage.get_alternative_name).
However, the original name of the file should be stored in the replica_catalog and when the file is moved out of the staging directory and into the experiment data directory, it should be renamed back to the original, user-supplied filename. That's failing to happen.
Actually, it looks like the root of the problem is that the randomized filename is getting stored in replica_catalog.
Attachments
Issue Links
- is superceded by
-
PLC4X-157 OPC-UA: Disable by config endpoint discovery
- Closed