[COMPASS-4426] JSON export does not represent binary data properly Created: 25/Sep/20 Updated: 29/Oct/23 Resolved: 15/Oct/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass |
| Affects Version/s: | None |
| Fix Version/s: | 1.23.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Anna Henningsen | Assignee: | Anna Henningsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||||||||||||||
| Sprint: | Iteration Maracuja | ||||||||||||||||||||||||||||
| Description |
|
See HELP-18788 – looks like there is an extra combined ISO-8859-1 encoding + UTF8-decoding step that should not be happening when serializing binary data, and like the subtype information is lost |
| Comments |
| Comment by Anna Henningsen [ 15/Oct/20 ] |
|
I’ll close this for now. Updating to bson@4.2.0 is more complicated than expected, so we’ll stick with our temporary fork for the time being. |
| Comment by Anna Henningsen [ 28/Sep/20 ] |
|
I’ve merged a temporary fix that applies a (one-line) bugfix to the `bson` package. I’ll leave this ticket open and on blocked until the next official bson release, which should contain the bugfixes that we need. |
| Comment by Githook User [ 28/Sep/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: |
| Comment by Githook User [ 28/Sep/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: |