Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1896

Deployment operation browse-content(archive=true) does not return archives in archived deployments

    Details

      Description

      Deployment operation browse-content(archive=true) does not return archives in archived deployments:

      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:browse-content()
      {
          "outcome" => "success",
          "result" => [
              {
                  "path" => "jboss-kitchensink-ear-web.war",
                  "directory" => false,
                  "file-size" => 63190L
              },
              {
                  "path" => "jboss-kitchensink-ear-ejb.jar",
                  "directory" => false,
                  "file-size" => 12256L
              },
              {
                  "path" => "META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/pom.xml",
                  "directory" => false,
                  "file-size" => 5582L
              },
              {
                  "path" => "META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/pom.properties",
                  "directory" => false,
                  "file-size" => 143L
              },
              {
                  "path" => "META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/",
                  "directory" => true
              },
              {
                  "path" => "META-INF/maven/org.jboss.quickstarts.eap/",
                  "directory" => true
              },
              {
                  "path" => "META-INF/maven/",
                  "directory" => true
              },
              {
                  "path" => "META-INF/MANIFEST.MF",
                  "directory" => false,
                  "file-size" => 130L
              },
              {
                  "path" => "META-INF/application.xml",
                  "directory" => false,
                  "file-size" => 802L
              },
              {
                  "path" => "META-INF/kitchensink-ear-quickstart-ds.xml",
                  "directory" => false,
                  "file-size" => 1955L
              },
              {
                  "path" => "META-INF/",
                  "directory" => true
              }
          ]
      }
      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
      {"outcome" => "success"}
      

      It works correctly with exploded deployments:

      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:undeploy
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:explode
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:deploy
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
      {
          "outcome" => "success",
          "result" => [
              {
                  "path" => "jboss-kitchensink-ear-web.war",
                  "directory" => false,
                  "file-size" => 63190L
              },
              {
                  "path" => "jboss-kitchensink-ear-ejb.jar",
                  "directory" => false,
                  "file-size" => 12256L
              }
          ]
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ehugonnet Emmanuel Hugonnet
                  Reporter:
                  mjurc Michal Jurc
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: