My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 235: T2AMFでnullをNaNにうまく変換できていない
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Jul 2009


 
Project Member Reported by shinpei.ohtani@gmail.com, Jun 23, 2009

AmfValueConvertFilterImplで、

	Class<?> resultType = amfResponse.getResultType();
	if (resultType != null) {
		Object result = amfResponse.getResult();
		result = amfContext.convertWriteValue(resultType, result);
		actionContext.getAmfContext().setRemotingMessageResult(result);
	}


のようなロジックになっているが、そもそもgetResultType()が
値がnullの場合入らないので、変換ロジックが動く事は無い。
結果NaNに変換されない。






Jun 24, 2009
Project Member #1 shinpei.ohtani@gmail.com
ひとまずAmfResponse.to(object, type)で明示的にtypeを渡した場合はうまくいくようにしま
した。
Jul 2, 2009
Project Member #2 shinpei.ohtani@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting