ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

PCK.AUTOMIC_FILESYSTEM: File Extraction Error for zip files containing specific characters like german Umlaute

book

Article ID: 237464

calendar_today

Updated On:

Products

CA Continuous Delivery Automation - Automation Engine

Issue/Introduction

ZIP files containing umlaut character  like 'ä', 'ö' , 'ü' or 'ß' as file names are not extracted using action this pack.

The execution aborts with and produced a report similar to this :

=================================================

file-system-tool: file-system-tool
file-system-tool: (c) Automic Software GmbH
file-system-tool: Version: 1.4.5
file-system-tool: Date: 2021-12-30 10:40


file-system-tool: PARAM: Archive file = C:\UC4\umlaute.zip
file-system-tool: PARAM: Target path = C:\UC4
file-system-tool: PARAM: Archive type = zip
Unpack Command:
Unpack <archive name> <target directory> [archive_type]
file-system-tool: ERROR: C:\UC4\? (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\UC4\? (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.uc4.ara.feature.file.Unpack.unzipArchive(Unpack.java:144)
at com.uc4.ara.feature.file.Unpack.run(Unpack.java:48)
at com.uc4.ara.feature.AraFileCmd.main(AraFileCmd.java:115)
Program 'UC4 Job Messenger' version '12.3.6+hf.2.build.1628511943051' started

=================================================

Cause

This is a bug in the action PCK.AUTOMIC_FILESYSTEM.PUB.ACTION.UNPACK of this package.

An error has been fixed where the Archive that includes files with German special character in the name are not processed properly.

Environment

PACKAGE FILESYSTEM 1.4.5

Resolution

This issue is now fixed

The fix will be available in Package.Filesystem version 1.4.6 available since 22.03.2022.