Hi Cr0x

I tried it in 2.1-snapshot and it works fine. The fix was also back-ported
to 2.0.x, so you will also find it in 2.0.10

Luigi


2015-05-22 17:19 GMT+02:00 cr0xfyre <[email protected]>:

> Can you verify this has been fixed in a later version?
>
> cr0x
>
>
> On Wednesday, 20 May 2015 12:03:41 UTC+1, cr0xfyre wrote:
>>
>> Hi everyone! I've found an annoying problem when using server-sided
>> functions:
>>
>> Function *printText *is a server-side function that receives a text and
>> simply returns it.
>>
>> *select printText('Hello world!')* works fine, but
>>
>> *select printText('Hello from the world!')* throws the error:
>>
>> --> com.orientechnologies.orient.core.exception.
>> OCommandExecutionException: Class 'THE' was not found in current
>> database [ONetworkProtocolHttpDb]
>> 2015-05-20 12:50:55:294 SEVERE Internal server error:
>> com.orientechnologies.orient.core.exception.OQueryParsingException: Error
>> on parsing query
>> Query:  world!')
>> ------^
>>
>>
>> I'm guessing the 'from' keyword is being detected inside the argument
>> string...
>>
>> Is this a bug or feature? How do I work around it when I want to pass
>> arbitrary text to a function (that can have or not the 'from' word) ?
>>
>> Best,
>> cr0xfyre
>>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to