[COMPASS-4441] Embedded mongosh should ignore undefined results Created: 07/Oct/20 Updated: 29/Oct/23 Resolved: 09/Nov/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Embedded Shell |
| Affects Version/s: | None |
| Fix Version/s: | 1.24.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Stennie Steneker (Inactive) | Assignee: | Anna Henningsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 2 |
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Papaya |
| Description |
|
In the standalone mongosh and mongo shell, an undefined result is ignored:
Current behaviour in Compass 1.22.1 is to display "undefined":
This outcome is confusing for operations that evaluate to undefined rather than providing a meaningful result (for example, variable declaration). It appears as though the operation may have failed (or be unsupported) when the result code is actually irrelevant. |
| Comments |
| Comment by Githook User [ 19/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 16/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|