tracker issue : CF-3040724

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 81452:When an entity has a data type of Date the adl

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Abram Adams / Abram Adams (Abram Adams)

Created: 01/05/2010

Components: Flex/Flash, AIR Integration

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: Japanese / Platforms All

Vote Count: 0

Problem:

When an entity has a data type of Date the adl.exe process does not terminate when you close the air application.  The only way to terminate the process is to go into Windows task manager and end the process manually.
Method:

Create a CFC entity as follows:
<cfcomponent persistent="true" table="datetest" alias="datetest" output="false">
<cfproperty name="ID" column="ID" type="numeric" ormtype="int" fieldtype="id"  />
<cfproperty name="testDate" column="testDate" type="date" ormtype="timestamp" />
</cfcomponent>

Then create an AS3 entity class as follows:

package com.myproject.model.vo
{
[Bindable]
[RemoteClass(alias="datetest")]
[Entity]
public class datetest
{
  [Id] 
  public var ID:int;
  public var testDate:Date;
  public function datetest()
  {}
}
}

Then using the coldfusion.air.SyncManager class perform a fetch for this entity and attempt a saveUpdateCache() on the results.
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040724

External Customer Info:
External Company:  
External Customer Name: Abram Adams
External Customer Email: 2C58192A446E406799201549
External Test Config: 01/05/2010

Attachments:

Comments: