Bug 803424 - Empty directory in archive.zip is not deployed with bundle
Empty directory in archive.zip is not deployed with bundle
Status: NEW
Product: RHQ Project
Classification: Other
Component: Provisioning (Show other bugs)
4.2
All All
medium Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-14 13:09 EDT by dsteigne
Modified: 2012-03-19 12:19 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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

  None (edit)
Description dsteigne 2012-03-14 13:09:07 EDT
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 12:19:01 EDT
per BZ triage (asantos, ccrouch, loleary, mfoley)

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