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čí
Priority: Minor
One of the problems from category:
http://www.mail-archive.com/[email protected]/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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira