We have migrated all our AS value objects in order to use the new
[RemoteClass(alias="com.mycompany.myapp.service.SomeRequestVO")] instead of
registerClassAlias(...).
Most of the time it is working fine, except for the CFC name/type mapping.
 
When sending an AS typed object as an argument to a remote CFC, for example,
"com.mycompany.myapp.service.SomeRequestVO", the CFC type is sometimes
incorrectly mapped to "SomeRequestVO" instead of
"com.mycompany.myapp.service.SomeRequestVO".
(we have verified and confirmed this by logging the cfc name metadata)

When looking at the ColdFusion adapter log, the AS type object is correctly
defined, so the problem occurs during the AS to CFC conversion.
 
WORKAROUND:  all the cfargument type validation have to be removed.
<cffunction name="someFunction" access="remote"
returnType="com.mycompany.myapp.service.SomeResponseVO">
 <cfargument name="request" required="true" /> <!---
type="com.mycompany.myapp.service.SomeRequestVO" --->
...

Is it a known bug?

Benoit Hediard

PS: is there a bug report form for the beta program?




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to