Needs review
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Session
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2012 at 13:47 UTC
Updated:
23 Jun 2012 at 07:09 UTC
In mongodb_session_user_update we convert some values to an int if present however all may not be present - specifically picture and this can create notices.
| Comment | File | Size | Author |
|---|---|---|---|
| session-key-check.patch | 770 bytes | marcingy |
Comments
Comment #1
marcingy commentedComment #2
chx commentedNow wait.
'$set' => (array) $account + array(is done above, what sort of user do you have that does not havearray('uid', 'created', 'access', 'login', 'status', 'picture')these??Comment #3
marcingy commentedSpecifically the issue is with picture not being present but the test for all potential items seemed more elegant. Well you know our database is em how should we put it interesting ;)
Comment #4
chx commented*cough* is that the database I architected :) ? No wonder it's interesting. We have another issue here brewing about this code which is slightly outdated. Stay tuned.