vikash002 / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

NumberInt has become NumberLong #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Choose any collection in the query view. 
2.Click "New Field" above a record.. 
3.Choose NumberInt as the field type. Put 444 as a value.. name it 
5.test_field. 
6.Hit Apply.
7.New value is created and you will see a nice 8."test_field":NumerInt(444) 
field inside the record. 
9.Click Update for the record. 
10.You will still see NumberInt(444). 
11.Click Save. 
12.You will still see NumberInt(444). 
13.Click Refresh - upper right corner or select again the collection from the 
left side - click on the record. 
14. NumberInt(444) has become NumberLong(444)

RockMongo Version (1.1.2)

MongoDB version (2.0.5)

It is an issue at the shell level - from mongodb java driver everything is ok. 
Normally no matter what, if yo specify NumberInt then it should be int. Also 
when you click update everything is fine - update successful and you see 
NumberInt as the type however in the database you have NumberLong - so when you 
click refresh you actually see NumberLong.

Original issue reported on code.google.com by d...@hivext.net on 12 Oct 2012 at 9:51

GoogleCodeExporter commented 9 years ago
Any new regarding this isssue?

Original comment by d...@hivext.net on 17 Oct 2012 at 2:23