You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/08 07:51:08 UTC

[jira] Created: (SLING-238) Content loading may yield StringIndexOutOtBoundsException

Content loading may yield StringIndexOutOtBoundsException
---------------------------------------------------------

                 Key: SLING-238
                 URL: https://issues.apache.org/jira/browse/SLING-238
             Project: Sling
          Issue Type: Bug
          Components: Resource
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: 2.0.0


When loading content a StringIndexOutOfBoundsException may be thrown when the Loader.createNode(Node, String, URL) method tries to cut off a file name extension when there is no extension to cut off.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-238) Content loading may yield StringIndexOutOtBoundsException

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-238.
-----------------------------------

    Resolution: Fixed

Fixed in Rev. 619782 by adding a method which checks the name for any known extension and cuts such an extension off the name.

> Content loading may yield StringIndexOutOtBoundsException
> ---------------------------------------------------------
>
>                 Key: SLING-238
>                 URL: https://issues.apache.org/jira/browse/SLING-238
>             Project: Sling
>          Issue Type: Bug
>          Components: Resource
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> When loading content a StringIndexOutOfBoundsException may be thrown when the Loader.createNode(Node, String, URL) method tries to cut off a file name extension when there is no extension to cut off.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.