I'm having issues with a simple transfer load by PK operation as
follows:
<cfset freeProduct.product = beans.transfer.get("Products.Product",
freeProduct.id) />
The freeProduct.id is a member of a struct with the primary key of the
Products.Product TO that we want to load. When Transfer tries to load
this object we get an Expression exception with the following message:
invalid call of the function setshFormat (/Users/clintmiller/Downloads/
railo-3.1.1.000-railo-express-macosx/webroot/com/worshiphousemedia/
model/data/transfer/Products.Product
$7DE02DF48635A93F7F656E8C6518F84E.transfer), first Argument (shFormat)
is of invalid type, can't cast String [] to a value of type [numeric]
Now that message seems to indicate it's a simple type mismatch- but if
you think you can solve that by wrapping the freeProduct.id in a call
to the VAL() function, you'd be wrong. (freeProduct.id is truly a
string value, but Adobe's CF engine does an implicit conversion here
and this code works fine). Is this an issue with Railo (compatibility
difference with Adobe?) or an issue with Transfer on Railo?
Thanks,
Clint
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---