Hi

I have strange problem with orient.getGraph() in javascript function on 
fresh (only unpacked and run server.sh) 2.1-rc2.
running js function from studio i got 
{
    "errors": [
        {
            "code": 400,
            "reason": "Bad request",
            "content": "Error on parsing script at position #0: Error on 
execution of the script\nScript: test\n------^\nTypeError: 
com.orientechnologies.orient.core.command.script.OScriptOrientWrapper@110e0cab 
has no such function \"getGraph\" in <eval> at line number 2\nTypeError: 
com.orientechnologies.orient.core.command.script.OScriptOrientWrapper@110e0cab 
has no such function \"getGraph\""
        }
    ]
}
running orient.getDatabase() is ok

On fresh rc1 it behaves as i expected: getGraph() is ok and getDatabase() 
returns  
{
    "error": 
"com.orientechnologies.orient.core.exception.OConfigurationException: No 
database instance found in context"
}

I'm curious also if anybody observed fact that being in role reader on 
fresh installation it is impossible to modify data but it is possible to 
remove class.
In distributed asynchronous document database I've also problem with index, 
it seems that it is not updated, index is built on one field from base 
class and one from derived.

I'm new to Orient so it is highly probable that i missed and/or 
misunderstood something, i'll be indebted for any advice.

Best Regards
Kris

-- 

--- 
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