Bom como disse no post anterior atualize um projeto para a versao 3.5.1 e mudei para o iogi estou com um comportamento estranho que quebrou todo meu sistema .
tenho um controlador com a seguinte assinatura
public void reload(Atendido atendido,Modulo modulo,Caso caso) {
}
na jsp eu faço a chamada desse tipo
/atendimentoInicial/reload?atendido.id=2252&modulo=ATENDIMENTO_INICIAL
quando chega no controlador ele instancia tambem o parametro caso , sendo que nem enviei nada para ele instanciar. Esse parametro não deveria ser null ?
Segue log abaixo , não sei da onde ele ta tirando que envie algum parametro com o nome de “caso”
15:48:24,377 DEBUG VRaptor:81 - VRaptor received a new request
15:48:24,377 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor ResourceLookupInterceptor
15:48:24,378 DEBUG DefaultResourceTranslator:51 - trying to access /atendimentoInicial/reload
15:48:24,395 DEBUG DefaultResourceTranslator:61 - found resource [DefaultResourceMethod: AtendimentoInicialController.reloadAtendimentoInicialController.reload(Atendido, Modulo, Caso)]
15:48:24,396 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor HibernateTransactionInterceptor
15:48:24,396 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor NoCacheInterceptor
15:48:24,397 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor EnvironmentInterceptor
15:48:24,397 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor ExceptionHandlerInterceptor
15:48:24,397 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor InstantiateInterceptor
15:48:24,409 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor FlashInterceptor
15:48:24,409 DEBUG IogiParametersProvider:56 - IogiParametersProvider is up
15:48:24,410 DEBUG LazyInterceptorHandler:58 - Invoking interceptor ParametersInstantiatorInterceptor
15:48:24,410 DEBUG ParanamerNameProvider:51 - Found parameter names with paranamer for AtendimentoInicialController.reload(Atendido, Modulo, Caso) as [atendido, modulo, caso]
15:48:24,410 DEBUG JstlLocalization:83 - couldn't find message bundle, creating an empty one
15:48:24,410 DEBUG ParanamerNameProvider:51 - Found parameter names with paranamer for AtendimentoInicialController.reload(Atendido, Modulo, Caso) as [atendido, modulo, caso]
15:48:24,411 DEBUG IogiParametersProvider:69 - getParametersFor() called with parameters Parameters(Parameter(atendido.id -> 2252), Parameter(modulo -> ATENDIMENTO_INICIAL)) and targets [Target(name=atendido, type=class br.gov.sp.defensoria.sia.model.Atendido), Target(name=modulo, type=class br.gov.sp.defensoria.sia.hard.code.Modulo), Target(name=caso, type=class br.gov.sp.defensoria.sia.model.Caso)].
15:48:24,411 DEBUG ParanamerNameProvider:51 - Found parameter names with paranamer for Atendido() as []
15:48:24,412 DEBUG ParanamerNameProvider:51 - Found parameter names with paranamer for Caso() as []
15:48:24,413 DEBUG ParametersInstantiatorInterceptor:93 - Parameter values for [DefaultResourceMethod: AtendimentoInicialController.reloadAtendimentoInicialController.reload(Atendido, Modulo, Caso)] are [br.gov.sp.defensoria.sia.model.Atendido@1abcd898, ATENDIMENTO_INICIAL, br.gov.sp.defensoria.sia.model.Caso@642ff0de]
15:48:24,413 DEBUG LazyInterceptorHandler:58 - Invoking interceptor AuthenticationInterceptor
15:48:24,413 DEBUG ToInstantiateInterceptorHandler:53 - Invoking interceptor ExecuteMethodInterceptor
15:48:24,413 DEBUG ExecuteMethodInterceptor:60 - Invoking AtendimentoInicialController.reload(Atendido, Modulo, Caso)
Isso é um bug ?