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 2018/11/15 14:36:00 UTC
[jira] [Resolved] (MYFACES-3076) Improve error reporting and
logging: report duplicate converters, validators, etc.
[ https://issues.apache.org/jira/browse/MYFACES-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-3076.
----------------------------------------
Resolution: Fixed
Assignee: Thomas Andraschko
> Improve error reporting and logging: report duplicate converters, validators, etc.
> ----------------------------------------------------------------------------------
>
> Key: MYFACES-3076
> URL: https://issues.apache.org/jira/browse/MYFACES-3076
> Project: MyFaces Core
> Issue Type: Sub-task
> Components: General
> Reporter: Martin Kočí
> Assignee: Thomas Andraschko
> Priority: Minor
> Fix For: 3.0.0-SNAPSHOT
>
>
> One of the problems from category: http://www.mail-archive.com/dev@myfaces.apache.org/msg50721.html
> Situation: if user creates (mostly by mistake) two converters for same type:
> @FacesConverter(forClass=AEntity.class)
> public class ConverterOne {}
> @FacesConverter(forClass=AEntity.class)
> public class ConverterTwo {}
> myfaces don't say nothing, moreover random behaviour occurs, because HashMap<String,Converter> and together with classloading in ConverterOne or ConverterTwo is used randomly.
> This obviously can afftect @FacesValidator etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)