diff --git a/arangod/V8Server/V8Traverser.cpp b/arangod/V8Server/V8Traverser.cpp index 07d33523ee..0344903cd1 100644 --- a/arangod/V8Server/V8Traverser.cpp +++ b/arangod/V8Server/V8Traverser.cpp @@ -82,12 +82,12 @@ VertexId triagens::arango::traverser::IdStringToVertexId ( } string const collectionName = vertex.substr(0, split); - auto coli = resolver->getCollectionStruct(collectionName); + auto cid = resolver->getCollectionIdCluster(collectionName); - if (coli == nullptr) { + if (cid == 0) { throw TRI_ERROR_ARANGO_COLLECTION_NOT_FOUND; } - return VertexId(coli->_cid, const_cast(str + split + 1)); + return VertexId(cid, const_cast(str + split + 1)); }