Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2022-03-31 19:52
Priority:
3
State:
Closed
Submitted by:
Henry Kwong (hykwong2012)
Assigned to:
Henry Kwong (hykwong2012)
Target Release:
4.2.0
Status:
Testing complete
Summary:
[data share] Warn of content with files with leading "." when importing archive file.

Detailed description
- Show warning message about not loading files with leading "." in filenames that are contained in the archive file when importing ".zip", ".gz", or ".tar" archive file.

Add A Comment: Notepad

Message  ↓
Date: 2022-11-17 00:33
Sender: Joy Ku

Updates confirmed.

Date: 2022-11-16 23:56
Sender: SimTK Admin

- Updated import UI, instructions, and status per feedback and discussions.

Date: 2022-11-16 19:49
Sender: Joy Ku

Tested on Edge. Correct behavior for zip archives for directories & files with leading "." at top and lower levels.

Update warning message to clarify what happened -->
TestTopHiddenDirectory.zip was uploaded but directories/files were not extracted. Please remove top level directories/files that start with a "." from the zip file.

Also clarify instructions for "File Upload" by adding this text on a separate line with a blank line between it and the other instructions: SimTK will automatically expand compressed files (those with one of the following suffixes: .zip, .tar.gz, .tar). (put the following in bold) For automatic expansions, make sure file and directory names do not start with a "."

Tested .tar and that worked for directories & files at the lower level, but the count was wrong in the error message. The first time it gave the correct count. All subsequent uploads showed the wrong count, giving the same count as the first time.

Date: 2022-05-06 06:39
Sender: Anthony Souza

Tested Firefox, Chrome and Safari with zips containing hidden files and hidden folders.
Correct error message was shown with correct number of ignore files.
correctly shows warning when zip archives are used and .files are in the top level of the archive.

Date: 2022-05-05 21:09
Sender: Henry Kwong

- Showed warning messages about content in the archive file
with directories/files with leading "." when importing
".zip", ".tar.gz", and ".tar" archive files.
- For ".tar.gz" and ".tar" archive files, the directories/files
with leading "." are ignored and summary message about these
directories/files is displayed.
- For ".zip" archive files, if there are not any top level
directories/files with leading "." contained in the archive
files, any directories/files with leading "." in the lower levels
are ignored and not imported, and a summary message about
these directories/files is displayed.
- For ".zip" archive files, if there are top level
directories/files with leading "." contained in the archive files,
the archive file is not extracted and a warning message is displayed.

Field Old Value Date By
status_idOpen2022-11-21 21:53hykwong2012
close_dateNone2022-11-21 21:53hykwong2012
assigned_tojoyku2022-11-17 00:33joyku
StatusReady for testing2022-11-17 00:33joyku
assigned_tohykwong20122022-11-16 23:56admin
StatusImplementing2022-11-16 23:56admin
assigned_tojoyku2022-11-16 19:49joyku
StatusTesting complete2022-11-16 19:49joyku
Target Release4.1.72022-10-27 19:13hykwong2012
assigned_toasouza882022-05-06 06:39asouza88
StatusReady for testing2022-05-06 06:39asouza88
assigned_tohykwong20122022-05-05 21:09hykwong2012
Target ReleaseNone2022-05-05 21:09hykwong2012
StatusAccepted2022-05-05 21:09hykwong2012
Feedback