Bug 803424 - Empty directory in archive.zip is not deployed with bundle
Summary: Empty directory in archive.zip is not deployed with bundle
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 4.2
Hardware: All
OS: All
medium
medium vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-14 17:09 UTC by dsteigne
Modified: 2022-03-31 04:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
sample bundle (1.59 KB, application/zip)
2012-03-14 17:09 UTC, dsteigne
no flags Details

Description dsteigne 2012-03-14 17:09:07 UTC
Created attachment 570041 [details]
sample bundle

Description of problem:
When deploying the attached bundle, the directory called "emptydirectory" doesn't get deployed. This seems to happen when the following is true:

- The empty directory is in a zip archive
- There are input properties configured and an rhq:replace is configured for that zip archive
- exploded="false" is set for the archive

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

How reproducible:
Always

Steps to Reproduce:
1) In JON UI, go to Bundles tab
2) Click "New" button
3) Check "Upload" and then "Choose File"
4) Choose archive-test-bundle-1.0.zip
5) Click Next
6) Click Next
7) Click Finish
8) Click on the newly imported bundle and select "Deploy"
9) Choose a platform destination to deploy to (e.g. a server running Fedora or RHEL)
10) Specify a deployment directory (e.g. opt/test)
11) Click Next
12) Leave "Latest Version [1.0]" selecte
13) Click Next
14) Enter a value for servlet.name
15) click Next
16) click Next
17) click Finish
18) Note that, even though the Archive.zip that is in the deployed bundle has sub-directories called "emptydirectory" and "fulldirectory" under directory1, only "fulldirectory" is actually deployed with the archive.

Comment 1 Mike Foley 2012-03-19 16:19:01 UTC
per BZ triage (asantos, ccrouch, loleary, mfoley)


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