[ 
http://www.stripesframework.org/jira/browse/STS-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-608.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.6
                   Release 1.5.1
         Assignee: Ben Gunter

Wow, that was a big oops. This is fixed for 1.5.1 and later.

> Unable to attach a custom EnumeratedTypeConverter without creating a custom 
> TypeConverterFactory
> ------------------------------------------------------------------------------------------------
>
>                 Key: STS-608
>                 URL: http://www.stripesframework.org/jira/browse/STS-608
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>    Affects Versions: Release 1.5
>            Reporter: Stig-Erland Hansen
>            Assignee: Ben Gunter
>            Priority: Minor
>             Fix For: Release 1.5.1, Release 1.6
>
>
> I had created a custom EnumeratedTypeConverter and placed it in the extension 
> package that I specified in my web.xml. The TypeConverter was picked up by 
> Stripes and registered with the Enum.class. However, the DefaultTypeConverter 
> expects for some reason that the enum TypeConverter to be registered for the 
> Enumeration.class and not the Enum.class. The default EnumeratedTypeConverter 
> is also registered for Enumeration.class as well. 
> In this way, my custom enum TypeConverter was ignored, and I had to create a 
> custom TypecConverterFactory and bind my TypeConverter to Enumeration.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to