[COMPASS-3246] Insert not permitted while document contains errors. Created: 13/Nov/18  Updated: 30/Nov/23

Status: Open
Project: Compass
Component/s: Documents
Affects Version/s: 1.16.0, 1.28.4
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Bryan Guenette Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10 64x


Attachments: PNG File 2018-11-13 09_43_22-MongoDB Compass - localhost_27017_DeckTypeDB.DeckTypes.png     PNG File Error.png     PNG File image-2023-11-30-17-01-09-271.png    
Issue Links:
Duplicate
duplicates COMPASS-3251 Insert still not permitted after a fi... Closed
is duplicated by COMPASS-3473 When inserting a document, changing f... Closed
Epic Link: COMPASS-7227
Story Points: 2

 Description   

When using insert document if we add a field and insert invalid data to make appear "Insert not permitted while document contains errors." if we delete the field before fixing the error the message stay there and we cannot insert the document.  This can be troublesome if you insert big document and remove one field and need to start everything again.



 Comments   
Comment by Luis Junco [ 30/Nov/23 ]

This bug report should have higher priority for 2 reasons:

 

  1. The bug has a huge impact on usability. Once this error appears, you can not create documents anymore, even if you enter the correct format! (for anyone facing this issue, a workaround so that you don't need to close the app is to click on a different collection and come back)
  2. This bug seems to happen often. As a coding teacher, I just did a live session with 28 students and "13" (yes, half of them) of them ran into this bug.

 

Hope that can get fixed soon 

🙏

 

 

Comment by Luis Junco [ 30/Nov/23 ]

 

Seems to affect multiple OOSS (at least Mac and Windows)

In my case: windows 10 + Compass 1.22.1

 

 

 

Comment by Shashi Harige [ 17/May/20 ]

Encountered this issue  on the latest version of Compass. I am connected to free tier mongoDB cluster. I am adding a new field in an existing collection's document.  This error occurring when I user data type as in32, int64 ,  decimal128 OR double so far. It does not show up for string and a few other data types. 

Generated at Wed Feb 07 22:32:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.