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

Graham Gear (JIRA) jira-events at lists.jboss.org
Thu Jun 4 10:14:57 EDT 2009


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: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-guvnor
    Affects Versions: 5.0.1.FINAL
            Reporter: Graham Gear
            Assignee: Mark Proctor
            Priority: Minor


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