After exporting a bundle, the value for includeAllFilesinFolder is showing "false" but should be "true"

  • 7010103
  • 03-Feb-2012
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1 Bundles

Situation

After exporting a bundle, the value for includeAllFilesinFolder is showing "false" but should be "true".
This MSI bundle has been created with the option to copy all files in the directory and subdirectory.
When exported the version after creating this with ZCC everything is OK. After the MSI has been re-imported (e.g. newer version) and, by uploading from MSI the option select to copy all files has been set, the value is wrong in the *ActionContentInfo.xml.

Resolution

To prevent this issue from happening, give the ZCM server the time to process and complete the upload.

Additional Information

The issue happens only when the content for the bundle has not completed the upload to the server and in the meantime the bundle is being exported. At this point, the number of content files registered against the action will be only one, and hence it thinks there is only one MSI file associated with the action and sets includeAllFilesinFolder and includeAllFilesinSubFolders values as false
If the content for the bundle is available, the content file names will be created for all the files and the number of files against the content will be greater than 1. So the options after export in the action content info xml will have includeAllFilesinFolder and includeAllFilesinSubFolders values set as true.