ColdFusion 9 Air ORM Another Bug?
Ok, today has just been one of those days. The culmination of many hours of testing, rewriting and testing again is starting to pinpoint some things that have been very flaky and difficult to debug in the CF9 Air offline integration mix.
One particularly difficult one I have been debugging is that in certain cases the adl.exe process does not stop when I quit the debugger or close the Air app if not in debug run mode.
This bug (if in fact it is one) has to do with Date types in the entity class. Take for example this simple entity (as3 class):package com.myproject.model.vo
{
[]
[(alias="datetest")]
[]
public class datetest
{
[]
public var ID:int;
public var testDate:Date;
public function datetest()
{
}
}
}
Simple entity with an ID column and a date column. now the CFC counterpart looks like this:
<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>
When I fetch it via SyncManager.fetch() and then on the session.saveUpdateCache() on the fetch results the SQLite table gets generated and all looks fine. However, when I then stop the debugging session (or close the Air app) the adl.exe process continues to run. It is only stopped by killing it in the task manager.
This is odd, and I beleive it is a bug. I have logged it in the CF9 Bug Database.
Abram wrote on 01/26/10 6:25 PM
Ouch, the bug was closed as not verified... must just be me then...