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

Inconsistent behaviour with browse-content(depth=1) operation between archived and exploded deployments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha10
    • 3.0.0.Alpha9
    • Management
    • None

      /deployment=jboss-kitchensink-ear.ear:browse-content(depth=1) operation returns inconsistent result depending on whether the deployment is exploded or not. Deployment attached.
      Archived:

      {
          "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/",
                  "directory" => true
              }
          ]
      }
      

      Exploded:

      {
          "outcome" => "success",
          "result" => [
              {
                  "path" => "META-INF/",
                  "directory" => true
              },
              {
                  "path" => "META-INF/MANIFEST.MF",
                  "directory" => false,
                  "file-size" => 130L
              },
              {
                  "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/application.xml",
                  "directory" => false,
                  "file-size" => 802L
              },
              {
                  "path" => "META-INF/kitchensink-ear-quickstart-ds.xml",
                  "directory" => false,
                  "file-size" => 1955L
              },
              {
                  "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
              }
          ]
      }
      

            ehugonne1@redhat.com Emmanuel Hugonnet
            mjurc@redhat.com Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: