Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-432

ContainerBase.shallowCopy() is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.1
    • None
    • None

    Description

      When archive contains directories, shallow copy throws exception due to

       for (final ArchivePath path : contents.keySet()) {
           newArchive.add(contents.get(path).getAsset(), path);
       }
      

      because add(...) checks

      Validate.notNull(asset, "No asset was specified");
      

      it is possible that same bug concerns also ArchiveBase.shallowCopy()

      Attachments

        Activity

          People

            vineet.reynolds_jira Vineet Reynolds (Inactive)
            mmatloka Michal Matloka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: