-
Notifications
You must be signed in to change notification settings - Fork 109
Cannot edit documents #242
Comments
I have this problem too in IntelliJ IDEA ULTIMATE 2018.2. |
Any way to bypass this ? |
Same in PhpStorm 2018.2.5 (#PS-182.4892.16) and GoLand 2018-3 EAP (#GO-183.4284.47) |
may be you can see the question:#83 solved by it |
I had already tried the solution in #83 and it doesn't work. Still applies in GoLand 2018.3 (GO-183.4284.84) |
Same |
Same. |
Same |
Hi, Edit document only works with ObjectId. This is a limitation that could be removed but I need some use case with sample ids. |
In the case for which I gave a screenshot earlier (2018-11-16), these are externally generated string ids. Essentially the string form of ObjectIDs, actually. |
The "classical" form the ObjectId value is hexadecimal char but I suppose the spec has changed and is more opened, right? |
In this specific case, it is an encoded version, more compact, but it does not really matter: IMHO since essentially any scalar can be used for an _id, using the string representation of the _id, usable with ObjectID too, would provide a unified type for _id you could use in the plugin (since I guess it's Java and you need an actual type ?) |
I just submitted a pull request; the modified plugin can be downloaded below. To use it, uninstall the official plugin and then install it from disk. |
What's about this bug. Need this urgend to be solved. |
@xstable , is the zip file above not working for you?
|
@cunneen didn't try it. If you still solved it, (like you did), would love to see that the team doing the merge. |
Dear @xstable, the team of this plugin is composed by me and myself. I built it few years ago for professional needs and I was happy to share it. I would like to thank @cunneen for his PR and the build he shares to unblock the situation. I sorry for not having merged it for now. I hope I will have some time to make some serious enhancement. Thanks. |
@cunneen I've tried it. Still in read-only mode. |
@cunneen Installed from your .zip correctly, I believe. Still having the read-only issue. |
@mattdavis1121 and @antonkomarev , it works fine for me. You need to right-click on the ID (not on any other properties) in order to edit. See attached. |
When will this fix be merged in the master? |
This was the problem! I can't be the only one who was just using the tool wrong. The base install from this repo works, then. It just doesn't work how I thought it would. Can't say for everyone, but for me this was just a UI problem. It's confusing that you can right click on properties other than ID and see Edit as an option, but have that option greyed out. |
This just fixes an issue where the ID is not generated by MongoDB i.e. it's not an Glad you figured it out. |
I am unable edit the document values in the explorer. When i right-click on the field i wish to edit, the edit option is grayed out. What could be the cause for this problem?
The text was updated successfully, but these errors were encountered: