You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Kočí (JIRA)" <de...@myfaces.apache.org> on 2011/03/17 14:18:29 UTC
[jira] Created: (MYFACES-3076) Improve error reporting and logging:
report duplicate converters, validators, etc.
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/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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira