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

ContainerBase.shallowCopy() is broken

XMLWordPrintable

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

      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()

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

                Created:
                Updated:
                Resolved: