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

ContainerBase.shallowCopy() is broken

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:

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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vineet.reynolds Vineet Reynolds
                Reporter:
                mmatloka Michal Matloka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: