-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit not working? #9
Comments
As of now, when you will |
Hi @dorbareket, is the above approach working for you? If not, please let me know. Thanks |
Hi @geetesh-gupta P.S |
Right clicking on _id and clicking on Edit opens a window titled Edition which allows to edit each key-value. If it is not working for you, it would be great if you can share a short video for the same. Also, please share if any error is coming on clicking Edit. Errors come at bottom right corner and are also available via a Alert icon in bottom bar on right side. |
Hi @dorbareket , sorry for delayed response. Are you still facing the issue? Did u check if u have edit access to the database your are trying to edit? |
@geetesh-gupta yes I'm an admin, I use Studio3T and I can edit whatever i want |
Hi, @geetesh-gupta. I experience the same edit issue as dorbareket. Tried with no user (local default) and with different admin user setups. Edit does not work as expected. Thanks! |
I just now created a new collection with a document using Studio3T, then went to the plugin, loaded that collection, right clicked on the document One thing I observe in @dorbareket video, that the document you are trying to edit, is having the _id as 1, which in an ideal scenario should be something like @berndlueneburg Can you share the screenshot of your collection, maybe if their is any similarity? |
I have the same issue and I agree that having an _id that is not an uidd like "my_settings" is the problem. But why is this a problem? In other clients like studio 3T that doesn't happen, it seems like a bug on your side for me, we can not change our _id values just for updating the data. |
|
I also use standard ids. I just created that temporary DB for the video and to try with a clean db |
So, we are able to know the issue that _id is not in standard format. Will check for the support for other IDs. As of now, it only supports the ObjectIds. |
as I understand @dorbareket and i use standard MongoDb ObjectIds and the Edit issue appears anyhow. So it cannot be the problem of a different id format. I think the hottest hint is that newly added documents within the MongoDb Browser are editable but existing ones not. Does this eventually help you? |
I tried creating documents from Studio3T. I was able to edit them in the plug-in. |
So umm
So @geetesh-gupta I think you are right, edit only works when _id is an ObjectId. It doesn't work if it's a string/NumberInt So the plugin allows creating documents with _id that is not ObjectId, but wont' allow editing it |
Correct @dorbareket. Will try to see if we can fix it. |
Expected behavior:
Maybe Edit button is supposed to be available for any field of the document? I'm not sure what was intended.
Clarification: Double clicking does nothing as well.
Effectively this means I can only view documents, which makes this amazing plugin useless.
Thx!
The text was updated successfully, but these errors were encountered: