OK we will look into it… I wonder why that works in CF since they do not
translate „“ into a number either…

 

Error Occurred While Processing Request 


The value '' cannot be converted to a number. 

        
        

 

        

The error occurred in D:\ColdFusion9\wwwroot\index.cfm: line 3


1 : <cfset a = "">

2 : 

3 : <cfset b = a + 1>

4 : <cfabort>

5 : <cfset iTime = getTickCount()>

 

So it might have to do somehow with database fields containing NULL values

 

Greetings from Switzerland

Gert Franz

 

Railo Technologies      Professional Open Source

skype: gert.franz          <mailto:[email protected]> [email protected]

+41 76 5680 231            <http://www.getrailo.com/> www.getrailo.com

 

Von: [email protected] [mailto:[email protected]] Im
Auftrag von Baz
Gesendet: Mittwoch, 22. Dezember 2010 09:22
An: [email protected]
Betreff: Re: [transfer-dev] Railo-Transfer numerics coming in as strings

 

Hey Gert,

 

The result is coming back null from the db, which is expected, and that
automatically gets transformed into a zero by transfer in ACF, but it
doesn't seem to be doing so in Railo. 

 

I found a couple of threads that seem very similar, but they either end
without providing a solution, or the suggested solutions don't seem to help
me:

 

http://groups.google.com/group/railo/browse_thread/thread/b7c344602beea5e6

 

http://www.mail-archive.com/[email protected]/msg02025.html

 

Cheers,

Baz

 

On Tue, Dec 21, 2010 at 11:52 PM, Gert Franz <[email protected]> wrote:

Baz,

A question here rather is: Why is the string [] means nothing when only
numerics are allowed?

Greetings from Switzerland
Gert Franz
 
Railo Technologies      Professional Open Source
skype: gert.franz         [email protected]
+41 76 5680 231           www.getrailo.com

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Baz
Gesendet: Dienstag, 21. Dezember 2010 20:36
An: [email protected]
Betreff: [transfer-dev] Railo-Transfer numerics coming in as strings


Hello,

I have a transfer orm app that was working on ACF, but when I switched to
Railo I get the message:

(xxxxx) is of invalid type, can't cast String [] to a value of type
[numeric]

I see that the value is zero, however I think it may be zero as a string, so
Railo is not happy.

Is there a way to get around this? I tried googling to no avail.

Thanks,
Baz

--

Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions
<http://groups.google.com/group/transfer-dev/web/how-to-ask-support-question
s%0d%0a-on-transfer> 
-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

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]
<mailto:transfer-dev%[email protected]> 
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en

--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions
-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

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]
<mailto:transfer-dev%[email protected]> 
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en

 

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions
-on-transfer
 
Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
 
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

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

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

Reply via email to