You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Cristian Vasile Mocanu (JIRA)" <ji...@apache.org> on 2010/05/31 18:34:41 UTC

[jira] Created: (TILES-509) infinite recursion in TilesApplicationContextWrapper

infinite recursion in TilesApplicationContextWrapper
----------------------------------------------------

                 Key: TILES-509
                 URL: https://issues.apache.org/jira/browse/TILES-509
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core
            Reporter: Cristian Vasile Mocanu


The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".

You probably meant to delegate to context.

Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Updated: (TILES-509) infinite recursion in TilesApplicationContextWrapper

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

Antonio Petrelli updated TILES-509:
-----------------------------------

     Original Estimate: 0h
    Remaining Estimate: 0h
         Fix Version/s: 2.2.2

Applied patch by Cristian Vasile Mocanu.
Thanks Cristian!

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.1
>            Reporter: Cristian Vasile Mocanu
>            Assignee: Antonio Petrelli
>             Fix For: 2.2.2
>
>         Attachments: infinite_recursion_TilesApplicationContextWrapper.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Commented: (TILES-509) infinite recursion in TilesApplicationContextWrapper

Posted by "Cristian Vasile Mocanu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873707#action_12873707 ] 

Cristian Vasile Mocanu commented on TILES-509:
----------------------------------------------

By the way, I found this by simply running sonar (http://www.sonarsource.org/) on your project.

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>            Reporter: Cristian Vasile Mocanu
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Updated: (TILES-509) infinite recursion in TilesApplicationContextWrapper

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

Antonio Petrelli updated TILES-509:
-----------------------------------

    Affects Version/s: 2.2.1
                       2.1.4

This bug affets 2.1.4 too. Thanks for the report.
What we want to do is, as you said, delegation to the wrapped context.
If you can, please post a patch.

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.1
>            Reporter: Cristian Vasile Mocanu
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Assigned: (TILES-509) infinite recursion in TilesApplicationContextWrapper

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

Antonio Petrelli reassigned TILES-509:
--------------------------------------

    Assignee: Antonio Petrelli

This bug does not affect Tiles 3.

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.1
>            Reporter: Cristian Vasile Mocanu
>            Assignee: Antonio Petrelli
>         Attachments: infinite_recursion_TilesApplicationContextWrapper.patch
>
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Closed: (TILES-509) infinite recursion in TilesApplicationContextWrapper

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

Antonio Petrelli closed TILES-509.
----------------------------------

    Resolution: Fixed

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.1
>            Reporter: Cristian Vasile Mocanu
>            Assignee: Antonio Petrelli
>             Fix For: 2.2.2
>
>         Attachments: infinite_recursion_TilesApplicationContextWrapper.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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


[jira] Updated: (TILES-509) infinite recursion in TilesApplicationContextWrapper

Posted by "Cristian Vasile Mocanu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TILES-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cristian Vasile Mocanu updated TILES-509:
-----------------------------------------

    Attachment: infinite_recursion_TilesApplicationContextWrapper.patch

Here you go :)

> infinite recursion in TilesApplicationContextWrapper
> ----------------------------------------------------
>
>                 Key: TILES-509
>                 URL: https://issues.apache.org/jira/browse/TILES-509
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.1
>            Reporter: Cristian Vasile Mocanu
>         Attachments: infinite_recursion_TilesApplicationContextWrapper.patch
>
>
> The class org.apache.tiles.context.TilesApplicationContextWrapper recurses infinitely in the methods "URL getResource(String path)" and "Set<URL> getResources(String path)".
> You probably meant to delegate to context.
> Found in "tiles-2.2.1" tag and also in the "trunk".

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