1.Create a document such as
{
"foo":"foo"
"bar":{}
}
2. View the record in rockmongo
Expected output:
{
"foo":"foo"
"bar":{}
}
Actual:
{
"foo":"foo"
"bar":[]
}
3. Additionally, if the document is updated it is persisted with an empty array
instead of an object. This is true when another key/value is update or the
empty array, even if you replace the array with an empty object it is persisted
as an array.
Ubuntu 10.04/PHP 5.3.2/pymongo 1.1.4/MongoDB 1.8.1
Original issue reported on code.google.com by matt.sma...@gmail.com on 20 May 2011 at 4:37
Original issue reported on code.google.com by
matt.sma...@gmail.com
on 20 May 2011 at 4:37