[jboss-jira] [JBoss JIRA] Closed: (JBRULES-2109) Upload of Resource to Guvnor with multiple "." in file name causes resource type identification issues

Toni Rikkola (JIRA) jira-events at lists.jboss.org
Fri Aug 28 07:27:23 EDT 2009


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

Toni Rikkola closed JBRULES-2109.
---------------------------------

    Fix Version/s: 5.1.0.M1
       Resolution: Done


> Upload of Resource to Guvnor with multiple "." in file name causes resource type identification issues
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2109
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2109
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-guvnor
>    Affects Versions: 5.0.1.FINAL
>            Reporter: Graham Gear
>            Assignee: Toni Rikkola
>            Priority: Minor
>             Fix For: 5.1.0.M1
>
>
> It seems the resource type identification is based on the file suffix of the resource being uploaded but matches against the first, not last "." in the filename to determine the suffix. This causes issue if the resource includes multiple "." which is valid under most file systems. It is also common for model JARs to include a version number with an extra ".", eg:
> application-model-1.0.0.jar
> The issue can be reproduced by uploading a model, DRL, RF etc to the Guvnor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list