orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

(Text console only) Edge data not displaying properly in 2.0 console

Open thecyman opened this issue 12 years ago • 2 comments

Version: OrientDB Server v2.0-SNAPSHOT (build UNKNOWN@r; 2014-10-12 11:12:24-0400)

I'm using a DB that was created in 1.7.9 and not converted. Edge data is fine in the web console. In the text console, there are some strange results. This could be related only to my DB.

  • I created an edge, deleted the edge, and then recreated it. It still showed as size 0 in the text console. Showed up properly in the web console.
    • Existing out_UserBuiltWorkout class had 3 edges. It showed as -1 (see below) in text console. In web console, looks fine.
orientdb {db=pumpup}> load record #5:32

--------------------------------------------------
ODocument - Class: OUser   id: #5:32   v.11741
--------------------------------------------------
out_UserBuiltWorkout : [size=-1]
                out_ : [size=2]
   out_UserWrotePost : [size=-1]
                name : *****
       acceptedTerms : true
     activitiesCount : 0

screen shot 2014-10-14 at 9 36 18 am

thecyman avatar Oct 14 '14 13:10 thecyman

guys, we do not fetch ridbag size by default to increase system performance. we can do exception for console though.

andrii0lomakin avatar Oct 14 '14 18:10 andrii0lomakin

I put it in console only. As soon as tests pass I'll push it to "develop" branch.

lvca avatar Oct 14 '14 18:10 lvca