Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Conversation

@ferengra
Copy link

The converter in this very little project without any security, interceptors etc. works fine.
However, the project the issue happens is much more complex.
It might be difficult to demostrate the issue as a sample.

@ghost ghost assigned rstoyanchev Feb 26, 2012
@ferengra
Copy link
Author

The demo for the issue is created.

I think the issue is on the line 432 in GenericConversionService.ConverterAdapter:
return this.typeInfo.getTargetType().equals(targetType.getObjectType());

In my view it should be:
return this.typeInfo.getTargetType().isAssignableFrom(targetType.getObjectType());

If you compare the version of 3.0.6 and 3.0.7 of GenericConversionService, you'll see that those lines were only added in 3.0.7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants