[GODRIVER-654] GridFS bindings give int64 but package trys to receive them as int32 from bson Created: 26/Nov/18 Updated: 28/Oct/23 Resolved: 28/Nov/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | GridFS |
| Affects Version/s: | 0.0.18 |
| Fix Version/s: | 0.1.0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Jonathan Pavlik | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 16.04, Arch, Windows 10 |
||
| Description |
|
Call of bsoncore.Value.int32 on a 64 bit interger https://github.com/mongodb/mongo-go-driver/blob/master/mongo/gridfs/bucket.go#L339 https://github.com/mongodb/mongo-go-driver/blob/master/mongo/gridfs/download_stream.go#L41
|
| Comments |
| Comment by Githook User [ 28/Nov/18 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Parse file length as int64 in gridfs and update tests to use DownloadToStream. Change-Id: Id79b0074ada75183f99917385552bf24243116c3 |