[COMPASS-7316] The insert dialog does not catch insert errors Created: 09/Oct/23 Updated: 29/Oct/23 Resolved: 10/Oct/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.40.3 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Le Roux Bodenstein | Assignee: | Basit Chonka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Lambeosaurus |
| Description |
|
The insert dialog doesn't report errors and it throws an uncaught rejection. Ignored in 1.40.2, blows up the app in main. For example:
causes: Uncaught (in promise) BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer |
| Comments |
| Comment by Githook User [ 17/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |
| Comment by Githook User [ 11/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |
| Comment by Githook User [ 10/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |
| Comment by Githook User [ 10/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |
| Comment by Githook User [ 10/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |
| Comment by Githook User [ 10/Oct/23 ] |
|
Author: {'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}Message: fix(insert-document): handle invalid bson |