tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Siquin <philippe.siq...@informatique.gov.pf>
Subject Re: [jira] [Closed] (TAP5-2651) TypeCoercer should favor exact match coercions over intermediate ones
Date Fri, 12 Feb 2021 00:08:23 GMT
unsubscribe

On 11/02/2021 12:12, Thiago Henrique De Paula Figueiredo (Jira) wrote:
>      [ https://issues.apache.org/jira/browse/TAP5-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
>
> Thiago Henrique De Paula Figueiredo closed TAP5-2651.
> -----------------------------------------------------
>     Resolution: Fixed
>
>> TypeCoercer should favor exact match coercions over intermediate ones
>> ---------------------------------------------------------------------
>>
>>                 Key: TAP5-2651
>>                 URL: https://issues.apache.org/jira/browse/TAP5-2651
>>             Project: Tapestry 5
>>          Issue Type: Improvement
>>          Components: tapestry-ioc
>>            Reporter: Thiago Henrique De Paula Figueiredo
>>            Assignee: Thiago Henrique De Paula Figueiredo
>>            Priority: Major
>>             Fix For: 5.6.2, 5.7.0
>>
>>
>> While checking why the TAP5-2645 patch had a [failing test|https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/47/testReport/ioc.specs/TypeCoercerSpec/coerce_java_lang_Integer_2020_to_java_time_Year_should_be_2020/],
I noticed I was wrong about an assumption I made about TypeCoercer: it doesn't favor exact
match coercions (i.e. coercions with the exact same source and target classes) over other
ones, leaving the possibility of an intermediate (i.e. non-direct) one to be picked up even
when an exact match one exists. 
>
>
> --
> This message was sent by Atlassian Jira
> (v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message