Groups
Groups
Sign in
Groups
Groups
Mongoid
Conversations
About
Send feedback
Help
Why do I get BSON::InvalidKeyName on save?
81 views
Skip to first unread message
dblock
unread,
Feb 3, 2011, 10:41:27 AM
2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
I am getting this quite consistently on save when creating 100+ items
with auto-generated names.
BSON::InvalidKeyName:
key must not contain '.'
I don't have a small repro (yet). Anyone seen this?
Marcel Otto
unread,
Feb 3, 2011, 4:38:08 PM
2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
I have the same problem for a while and still found no solution. My
code worked perfect, but since a week I'm getting this or the
variation
BSON::InvalidKeyName:
key must not contain '$'
without making any changes to the code.
dblock
unread,
Feb 4, 2011, 12:39:09 AM
2/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
I started a new thread on MongoDB.
http://groups.google.com/group/mongodb-user/browse_thread/thread/2e0a1ae0aa5d392b
You should post your runtime details there.
dblock
unread,
Feb 4, 2011, 10:16:00 AM
2/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
Mystery solved. This is fixed in bson/bson_ext 1.2.0.
http://code.dblock.org/ShowPost.aspx?id=168
Reply all
Reply to author
Forward
0 new messages