-
Notifications
You must be signed in to change notification settings - Fork 163
BSON BinData is not handled correctly #28
Comments
Ooh. That's an interesting one. You're using BinData for an ID? What would you expect to have happen in this case? |
Proper GridFS and BinData support is on my shortlist for v2.1 features, but in this case I'm not sure how best to represent it in the document heading (and incidentally, in the URL). What is your BinData ID composed of? |
Well I guess it's a little bit hard to cover all cases what a BinData can consist of. The question is: What happens when someone else uses something different for it. Maybe you could define different representations for different subtypes of BinData or just use the same format as e.g. the mongo CLI displays (and for the URL you could urlencode it or something like that..) Thanks for this tool btw. it's nice to finally have a good looking and working tool :) |
+1 Oh, by the way: before saving (updating) a record containing a { "_id" : BinData(3,"PXvPG7WxT029i0N17Corog=="), ... } // bar = db.foo.findOne();
{ "_id" : new BinData(3,"PXvPG7WxT029i0N17Corog=="), ...} // db.foo.save(bar); |
I think that's perfect! Very nice :) |
Awesome. It's 95% implemented, and will be in |
Great, thanks a lot! :-) |
Committed and pushed to the Thanks! |
http://cl.ly/image/1x1B41051h3m Thanks a lot, seems to work besides saving which tells me that "t" is undefined. Also when editing, the textarea is very small initially (you can resize it but it would be nice to have the full size). When editing documents with BinData in it it might be helpful to add a "new" before the BinData statements because otherwise I think it won't work. But really nice work :) |
It will work with or without the I'm not sure about the "t" and editor... That's definitely not what the editor should be showing. For some reason the rich editor isn't showing up. |
Also, shouldn't that be |
Hmm. The rich editor doesn't show up when editing a doc with BinData, but does for all other docs. Looks like a bug :) |
Okay. Should be fixed now. Take a look? |
Just pushed a fix for that quoted subtype argument. |
Hi, You're so fast! I'll take a look on tuesday because then I'm back at the office. Thanks again :) |
This has been merged into |
Hey, sorry didn't had time on tuesday for it. It works perfectly :) Thanks a lot |
See:
http://cl.ly/image/1f1Z313D012V
Thanks for the app :)
The text was updated successfully, but these errors were encountered: