You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2021/03/02 10:19:00 UTC
[jira] [Resolved] (MYFACES-4381) Invalid ID is created when facet
contains invalid (id) chars
[ https://issues.apache.org/jira/browse/MYFACES-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-4381.
----------------------------------------
Resolution: Fixed
> Invalid ID is created when facet contains invalid (id) chars
> ------------------------------------------------------------
>
> Key: MYFACES-4381
> URL: https://issues.apache.org/jira/browse/MYFACES-4381
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.14, 2.3-next-M5, 3.0.0, 2.3.8
> Reporter: Thomas Andraschko
> Assignee: Thomas Andraschko
> Priority: Major
> Fix For: 4.0.0-RC1, 3.0.1, 2.3.9, 2.2.15, 2.3-next-M6
>
>
> e.g.
> f:facet name="{Exporter}" seems valid from spec perspective
> but in MyFaces this name is reused in the UIPanel facet instance and therefore we throw a expcetion later, that it contains { or }
> Mojarra doesnt set a ID to the facet, therefore it doenst occur
> for now . is replaced with _, i will enhance this to replace {}
> i general a regex would be better here but also slower
> see: https://github.com/primefaces/primefaces/issues/7060
--
This message was sent by Atlassian Jira
(v8.3.4#803005)