GSA / Challenge_gov

Other
29 stars 14 forks source link

change the export challenge to name the files as uuid.ext #1249

Closed alexspetty closed 3 months ago

alexspetty commented 9 months ago

Description of changes

This commit modifies the file naming mechanism in the ZIP export process by using the key UUID field as the file name instead of the user-provided name. The change has been made to ensure filesystem compatibility, as well as to avoid issues with special characters and duplicated file names.

Files within the export are now named with their unique identifier, ensuring no naming collisions and simplifying file management. To maintain user readability and file identification, a future update may introduce a manifest mapping UUIDs to original names.

Changes made in:

Link to issue

Issue Number: CHAL-1818

Screenshots / Demo

To exercise the new functionality:

  1. Navigate to the submissions export page.
  2. Initiate an export of submission files.
  3. Once the ZIP file is downloaded, verify that the files contained are named using their UUIDs. applicable