fixed @PathVariable regression in combination with ConversionService usage on DataBinder

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3504 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2010-07-26 20:14:57 +00:00
parent a4d48f721c
commit 085449cf1e
2 changed files with 13 additions and 3 deletions
@@ -57,7 +57,9 @@ public abstract class AbstractPropertyBindingResult extends AbstractBindingResul
public void initConversion(ConversionService conversionService) {
Assert.notNull(conversionService, "ConversionService must not be null");
this.conversionService = conversionService;
getPropertyAccessor().setConversionService(conversionService);
if (getTarget() != null) {
getPropertyAccessor().setConversionService(conversionService);
}
}
/**