You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2022/07/19 12:39:00 UTC

[jira] [Resolved] (TOBAGO-2149) StringIndexOutOfBoundsException in AuthorizationHelper

     [ https://issues.apache.org/jira/browse/TOBAGO-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Nöth resolved TOBAGO-2149.
----------------------------------
    Fix Version/s: 4.5.6
                   5.1.1
       Resolution: Fixed

> StringIndexOutOfBoundsException in AuthorizationHelper
> ------------------------------------------------------
>
>                 Key: TOBAGO-2149
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-2149
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.5.5, 5.1.0
>            Reporter: Henning Nöth
>            Assignee: Henning Nöth
>            Priority: Major
>             Fix For: 4.5.6, 5.1.1
>
>
> The error occur if an composite component use this expression "#\{cc.attrs.attributeName}" on an action.
> {code:xml}
> <cc:interface>
>   <cc:attribute name="downloadAction" required="true" method-signature="java.lang.String action()"/>
> </cc:interface>
> <cc:implementation>
>   <tc:button label="Action" action="#{cc.attrs.downloadAction}"/>
> </cc:implementation>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)