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/03/22 17:22:51 UTC
[jira] Resolved: (TILES-138) Component scope is handled incorrectly
[ https://issues.apache.org/struts/browse/TILES-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli resolved TILES-138.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.2
I completely removed the "component scope" since it is not used in any way.
> Component scope is handled incorrectly
> --------------------------------------
>
> Key: TILES-138
> URL: https://issues.apache.org/struts/browse/TILES-138
> Project: Tiles
> Issue Type: Bug
> Components: tiles-core, tiles-jsp (jsp support)
> Affects Versions: 2.0.1
> Reporter: Antonio Petrelli
> Assigned To: Antonio Petrelli
> Fix For: 2.0.2
>
>
> The component scope, which id is stored inside the ComponentConstants interface, is handled in an incorrect way.
> Its only use is indice the "AttributeTagSupport.getScopeId" method, where it returns this scope id when the scope is "component", "template" or "tile".
> But this id is then used inside PageContext.setAttribute (in ImportAttributeTag and UseAttributeTag), that throws an exception if used.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.