1 Reply Latest reply on Sep 16, 2009 9:38 AM by Gaurav P(Adobe)

    Coldfusion Data/Services INT bug?

    Truce

      Hi, I'm have some troubles with data types in FLASH Builder 4 beta build 235740

      =========================================

      My coldfusion component takes a primary key called "id" of type int

      <!--- FLEX Vars To CFC --->
      <cfargument name="id" required="yes" type="int"/>

      =========================================
      I've imported the service yet the Data/Services tab shows the function as....

      UserManager
          Data Types
          DisplayUser( id : Object ) : Object

      =========================================
      Which I would expect....

      UserManager
          Data Types
          DisplayUser( id : Int ) : Object

      =========================================
      IF I change my data type in my coldfusion component to be string

      <!--- FLEX Vars To CFC --->
      <cfargument name="id" required="yes" type="string"/>

      =========================================
      save and refresh my Data/Services Tab I get the following

      UserManager
          Data Types
          DisplayUser( id : String ) : Object
      =========================================

      I notice that the String data type was updated in the FB Data/Service tab
      but when the component uses an 'int' FB Data/Services treats it as an object

      What am I missing here? - OR - Is this a beta bug?