Thanks Nathan - i've commited your patches :)
 
cheers
 
Paul

>>> [EMAIL PROTECTED] 10/15/2004 1:01:01 AM >>>

Okay, I've put together what I think is a better fix for the container
problem, which turned out to be a problem with fourq.createData().
Attached are patches for the following files:

fourq/fourq.cfc
fourq/_fourq/createData.cfm
fourq/_fourq/setData.cfm
farcry_core/packages/rules/container.cfc

Things fixed with these patches:

- createData now works when the last property to be created is an array.

- createData now works when creating a pre-populated object in Oracle
with longchar properties.

- createData and setData now use the sql type CF_SQL_CLOB when inserting
or updating longchar properties in Oracle. (These methods still use
CF_SQL_LONGVARCHAR for all other DB types.)

- boolean properties can now handle the following values: Yes/No,
True/False, 1/0, [Empty String]. (setData was failing if a boolean
property was passed an empty string, now the boolean property is set to
false if passed an empty string. Due to a typo, setData was also failing
if passed the string "false." This has been fixed.)

Please note that these patches are against the latest farcry_core (p220)
and fourq code from CVS. The container patch here replaces the one I
submitted to the list (and test track) yesterday. I have only done
limited testing against Oracle, but I think these changes should work
fine for all other databases. (In other words, they need to be tested ;)
Any suggestions for improvement are welcome.

Best,

--Nathan
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to