[jboss-jira] [JBoss JIRA] (WFCORE-1854) Wrong result on :browse-content(depth>0) on archived deployments deployed by deployment scanner

ehsavoie Hugonnet (JIRA) issues at jboss.org
Wed Oct 5 10:17:00 EDT 2016


    [ https://issues.jboss.org/browse/WFCORE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13302996#comment-13302996 ] 

ehsavoie Hugonnet commented on WFCORE-1854:
-------------------------------------------

I don't reproduce it on upstream master (with the fix for WFCORE-1851) :


{code:java}
[standalone at localhost:9990 /] /deployment=wildfly-kitchensink-ear.ear:read-resource(include-runtime)     
{                                                                                                                                                                                                                                                                                                
    "outcome" => "success",                                                                                                                                                                                                                                                                      
    "result" => {                                                                                                                                                                                                                                                                                
        "content" => [{"hash" => bytes {                                                                                                                                                                                                                                                         
            0x3e, 0x04, 0x34, 0xd7, 0xd4, 0x5f, 0x5a, 0x92,                                                                                                                                                                                                                                      
            0xd4, 0x1a, 0x81, 0x96, 0x67, 0xdb, 0x53, 0x4f,                                                                                                                                                                                                                                      
            0x8f, 0xdb, 0xf6, 0x31                                                                                                                                                                                                                                                               
        }}],                                                                                                                                                                                                                                                                                     
        "disabled-time" => 1475676768425L,                                                                                                                                                                                                                                                       
        "disabled-timestamp" => "2016-10-05 16:12:48,425 CEST",                                                                                                                                                                                                                                  
        "enabled" => false,                                                                                                                                                                                                                                                                      
        "enabled-time" => 1475676724207L,                                                                                                                                                                                                                                                        
        "enabled-timestamp" => "2016-10-05 16:12:04,207 CEST",                                                                                                                                                                                                                                   
        "managed" => true,                                                                                                                                                                                                                                                                       
        "name" => "wildfly-kitchensink-ear.ear",                                                                                                                                                                                                                                                 
        "owner" => [                                                                                                                                                                                                                                                                             
            ("subsystem" => "deployment-scanner"),                                                                                                                                                                                                                                               
            ("scanner" => "default")                                                                                                                                                                                                                                                             
        ],                                                                                                                                                                                                                                                                                       
        "persistent" => false,
        "runtime-name" => "wildfly-kitchensink-ear.ear",
        "status" => "STOPPED",
        "subdeployment" => undefined,
        "subsystem" => undefined
    }
}

deployment=wildfly-kitchensink-ear.ear:browse-content(depth=1)
{
    "outcome" => "success",
    "result" => [
        {
            "path" => "META-INF/",
            "directory" => true
        },
        {
            "path" => "wildfly-kitchensink-ear-web.war",
            "directory" => false,
            "file-size" => 63332L
        },
        {
            "path" => "wildfly-kitchensink-ear-ejb.jar",
            "directory" => false,
            "file-size" => 12128L
        }
    ]

{code}



> Wrong result on :browse-content(depth>0) on archived deployments deployed by deployment scanner
> -----------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1854
>                 URL: https://issues.jboss.org/browse/WFCORE-1854
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Alpha9
>            Reporter: Michal Jurc
>            Assignee: ehsavoie Hugonnet
>
> With archived deployment deployed by deployment scanner, the {{/deployment=jboss-kitchensink-ear.ear:browse-content(depth=1)}} command returns the following result:
> {code}{
>     "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
>         }
>     ]
> }
> {code}
> WFCORE-1851 does not fix this.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list