[jboss-jira] [JBoss JIRA] (AS7-2415) Unable to deploy file with a space in the name

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Mar 14 13:07:57 EDT 2012


     [ https://issues.jboss.org/browse/AS7-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned AS7-2415:
-------------------------------------

    Assignee: Emmanuel Bernard  (was: Brian Stansberry)


When I say "the message can and should be improved" I mean the use case for creating a PathElement is basically for one thing -- creating part of a resource address. So the message should directly discuss that use case and provide as much context as possible. Something like:

"Illegal resource address element 'deployment=jar_sign-seal-test junk.jar" -- the string jar_sign-seal-test junk.jar is not a valid value for an element in a resource address. Character ' ' is not allowed."

Similar but slightly different wording would be required for illegal keys.
                
> Unable to deploy file with a space in the name
> ----------------------------------------------
>
>                 Key: AS7-2415
>                 URL: https://issues.jboss.org/browse/AS7-2415
>             Project: Application Server 7
>          Issue Type: Enhancement
>          Components: Domain Management
>    Affects Versions: 7.1.0.Alpha1, 7.1.0.CR1
>            Reporter: Paul Gier
>            Assignee: Emmanuel Bernard
>            Priority: Optional
>             Fix For: 7.1.2.Final
>
>         Attachments: deployment-error.txt
>
>
> I'm not able to deploy a file if the filename has a space in the name.  If I copy the file to the deployments directory, I get this error in the log.
> {quote}
> 19:16:16,367 ERROR [org.jboss.as.controller] (DeploymentScanner-threads - 2) Operation ("composite") failed - address: (undefined): java.lang.IllegalArgumentException: Invalid value specification jar-sign-seal-test junk.jar
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list