Bug 1261437 - Unable to extract update patch file on Windows
Summary: Unable to extract update patch file on Windows
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Deployment
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On: 1203726
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-09 10:29 UTC by Martin Weiler
Modified: 2020-03-27 19:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:09:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Weiler 2015-09-09 10:29:14 UTC
Description of problem:
Trying to open jboss-bpmsuite-6.1.2-patch.zip on Windows with built in zip utility fails:

Windows cannot open the folder


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Download jboss-bpmsuite-6.1.2-patch.zip to a Windows machine
2. Try to extract it using Windows Explorer
3.

Actual results:
Extracting fails


Expected results:
Extracting works as expected

Additional info:
This is due to the file name limit of 260 characters in Windows. The patch archive, however, contains files which exceed this limit:

$ unzip -l jboss-bpmsuite-6.1.2-patch.zip |awk -F' ' '{print $4}'|wc -L
323

Example of such a long path:
jboss-bpmsuite-6.1.2-patch/updates/wls12c/new-content/business-central.war/WEB-INF/classes/org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_org_drools_workbench_models_guided_dtree_shared_model_parser_messages_AmbiguousRootParserMessageImpl.class

This problem is showing up with the zip distributions of the platform as well, see related BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1203726

Workaround:
- Use 3rd party tools (eg. 7zip) to extract the zip file
- Use java's jar command to extract the zip file:
jar.exe -xvf jboss-bpmsuite-6.1.2-patch.zip

Comment 3 Ryan Zhang 2016-02-23 12:22:55 UTC
This is the same/similar issue to https://bugzilla.redhat.com/show_bug.cgi?id=1203726#c9

Looking at the comments in https://bugzilla.redhat.com/show_bug.cgi?id=1203726#c11
Could we mark this as fixed?


Note You need to log in before you can comment on or make changes to this bug.