0 Replies Latest reply on Dec 17, 2007 1:47 PM by bobk1

    why would different CF servers return different objects?

    bobk1
      My application fails (error 1009) when it retrieves an object from our ColdFusion production server but works fine when it retrieves the same object from our testing server. From the ColdFusion side the generated objects appear to be identical. From the Flex side the returned objects appear to be different.

      Here is a comparison of the returned objects when dumped with objectUtil.getClassInfo:

      From TEST server:.................................From PRODUCTION Server
      (Object)#0..............................................(Object)#0.
      ..alias.=."PROJ.cfc.ORDERS"....................alias.=."".
      ..dynamic.=.false.....................................dynamic.=.true.
      ..metadata.=.(Object)#1............................metadata.=.(null).
      ....COMMENTS.=.(Object)#2..
      ......Bindable.=.(Object)#3..
      ........event.=."propertyChange"..
      ....CURR_DOB.=.(Object)#4..
      ......Bindable.=.(Object)#5..
      ........event.=."propertyChange"..
      ....etc.......
      .name.=."cfc::ORDERS".......................name.=."Object".
      ..properties.=.(Array)#86.......................properties.=.(Array)#1.
      ....[0].(QName)#87.................................[0].(QName)#2.
      ......localName.=."COMMENTS"..............localName.=."COMMENTS".
      ......uri.=.""...............................................uri.=."".
      ....[1].(QName)#88.................................[1].(QName)#3.
      ......localName.=."CURR_DOB"................localName.=."CURR_DOB".
      ......uri.=.""..............................................uri.=.""
      etc.

      As you can see, one has an alias, a name and metadata and the other doesn't. One is dynamic and the other one isn't.

      What would cause the different servers to return different objects?

      From what I can see the servers are identical (Windows 2003, CF version 7.02
      latest hotfixes) as are the files (cfc's and swf).

      Thanks