Skip to content
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

Update object not working #4

Closed
bra1n opened this issue Oct 19, 2011 · 8 comments
Closed

Update object not working #4

bra1n opened this issue Oct 19, 2011 · 8 comments

Comments

@bra1n
Copy link

bra1n commented Oct 19, 2011

Hi,
I've tested it on 3 machines so far and on all 3, updating an Object doesn't seem to work.
How to reproduce:

  • open a connection, ie to localhost
  • open a database on the server
  • choose a collection
  • on the "Find" tab, click on "Run" to get all the objects from that collection
  • doubleclick on an Object to open its JSON representation
  • edit the JSON
  • click on Save

What should happen: the Object-window should close and the changed values should be updated in the object
What does happen: nothing

I'm running MongoDB 2.0.0 on Mac OSX 10.6.8 and MongoHub 2.4.3 [77], removing objects from a collection works just fine.

@jeromelebel
Copy link
Owner

Thanks for your bug report !!!

Well, do you mind to give me the json after you edited it? So I can try to reproduce this bug.

Thanks

Le 19 oct. 2011 à 15:40, Steffen a écrit :

Hi,
I've tested it on 3 machines so far and on all 3, updating an Object doesn't seem to work.
How to reproduce:

  • open a connection, ie to localhost
  • open a database on the server
  • choose a collection
  • on the "Find" tab, click on "Run" to get all the objects from that collection
  • doubleclick on an Object to open its JSON representation
  • edit the JSON
  • click on Save

What should happen: the Object-window should close and the changed values should be updated in the object
What does happen: nothing

I'm running MongoDB 2.0.0 on Mac OSX 10.6.8 and MongoHub 2.4.3 [77], removing objects from a collection works just fine.

Reply to this email directly or view it on GitHub:
#4

@bra1n
Copy link
Author

bra1n commented Oct 19, 2011

Sure, here's an example from the "activities" collection:
{ "_id": { "$oid" : "4E9807F88157F608B4000002" }, "_type": "Activity", "activity_type": "new_property", "created_at": 1318586360000.000000, "shop_id": { "$oid" : "4E9804B18157F606CF000009" }, "subtarget_id": { "$oid" : "4E9807F78157F608B4000001" }, "subtarget_type": "Property", "target_id": { "$oid" : "4E9804B38157F606CF00000F" }, "target_type": "Broker", "title": null, "updated_at": 1318586360000.000000 }
No matter what I change, it always reverts to this / doesn't save the changes.

It doesn't depend on a certain collection or object, though. EVERY Object / Collection I open has this problem.

@bra1n bra1n closed this as completed Oct 19, 2011
@bra1n bra1n reopened this Oct 19, 2011
@jeromelebel
Copy link
Owner

Cool, I can't insert your document :-)

I will look at this error as soon as I can… Probably tomorrow night. I will let you know when I will fix this bug. Sorry about that.

Le 19 oct. 2011 à 17:00, Steffen a écrit :

Sure, here's an example from the "activities" collection:
{ "_id": { "$oid" : "4E9807F88157F608B4000002" }, "_type": "Activity", "activity_type": "new_property", "created_at": 1318586360000.000000, "shop_id": { "$oid" : "4E9804B18157F606CF000009" }, "subtarget_id": { "$oid" : "4E9807F78157F608B4000001" }, "subtarget_type": "Property", "target_id": { "$oid" : "4E9804B38157F606CF00000F" }, "target_type": "Broker", "title": null, "updated_at": 1318586360000.000000 }
No matter what I change, it always reverts to this / doesn't save the changes.

Reply to this email directly or view it on GitHub:
#4 (comment)

@bra1n
Copy link
Author

bra1n commented Oct 19, 2011

Amazing! Thanks in advance, I hope you'll be able to find the cause for this annoying bug. :)

@jeromelebel
Copy link
Owner

fixed :
f163e87
ac62bcb

@heygambo
Copy link

@jeromelebel have you already compiled the binary? If so, where can I download?
Big thx!

@jeromelebel
Copy link
Owner

Yes, I already did the software update (finally, I found the time yesterday night).

You can download it in the download section (https://github.com/fotonauts/MongoHub-Mac/downloads), or you can get it with the software update in MongoHub.

Le 20 oct. 2011 à 12:13, Christian Gambardella a écrit :

have you already compiled the binary? If so, where can I download?

Reply to this email directly or view it on GitHub:
#4 (comment)

@heygambo
Copy link

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants