You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/07/14 16:43:11 UTC

[jira] Created: (TILES-197) Role strings need to be split at every evaluation

Role strings need to be split at every evaluation
-------------------------------------------------

                 Key: TILES-197
                 URL: https://issues.apache.org/struts/browse/TILES-197
             Project: Tiles
          Issue Type: Improvement
          Components: tiles-api, tiles-core
    Affects Versions: 2.0.4
            Reporter: Antonio Petrelli
            Priority: Minor


The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
The roles should be stored inside a Set, eventually created lazily.

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


[jira] Resolved: (TILES-197) Role strings need to be split at every evaluation

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

Antonio Petrelli resolved TILES-197.
------------------------------------

    Resolution: Fixed

Now the roles are stored in a Set. The string property it is used only to populate the set.

> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

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


[jira] Updated: (TILES-197) Role strings need to be split at every evaluation

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

Antonio Petrelli updated TILES-197:
-----------------------------------

    Fix Version/s: 2.0.6

> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

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


[jira] Closed: (TILES-197) Role strings need to be split at every evaluation

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

Antonio Petrelli closed TILES-197.
----------------------------------


Tiles 2.0.6 released.

> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

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


[jira] Assigned: (TILES-197) Role strings need to be split at every evaluation

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

Antonio Petrelli reassigned TILES-197:
--------------------------------------

    Assignee: Antonio Petrelli

> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

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


[jira] Issue Comment Edited: (TILES-197) Role strings need to be split at every evaluation

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

brenmcguire edited comment on TILES-197 at 12/20/07 10:46 AM:
-------------------------------------------------------------------

Now the roles are stored in a Set. The string property is used only to populate the set.

      was (Author: brenmcguire):
    Now the roles are stored in a Set. The string property it is used only to populate the set.
  
> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

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