diff --git a/CHANGELOG b/CHANGELOG index 960f5ef085..a1a2056eaa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ devel ----- +* ArangoQueryStreamCursor.prototype.id needs to be a string, v8 32 bit integers + can't hold the full data. + * upgraded Swagger UI to 3.22.1 * add --compress-output flag to arangodump. Activates gzip compression for diff --git a/arangod/V8Server/v8-voccursor.cpp b/arangod/V8Server/v8-voccursor.cpp index 6ae4a03bf1..8d962d03fe 100644 --- a/arangod/V8Server/v8-voccursor.cpp +++ b/arangod/V8Server/v8-voccursor.cpp @@ -538,7 +538,7 @@ struct V8Cursor final { if (self == nullptr) { TRI_V8_RETURN(v8::Undefined(isolate)); } - TRI_V8_RETURN(v8::Integer::New(isolate, self->_cursorId)); + TRI_V8_RETURN(TRI_V8UInt64String(isolate, self->_cursorId)); } private: