Closed (fixed)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Session
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2012 at 08:32 UTC
Updated:
28 May 2012 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
misc commentedDo you have the same problem with the dev version of mongodb?
Comment #2
attekilpela commentedThanks for the quick response!
I noticed that I was actually using the dev version and not the beta2.
Beta2 seems to work fine.
I checked the code and found this:
Beta2:
function mongodb_session_user_update($edit, $account) {
if (!module_exists('mongodb_field_storage')) {
Dev:
function mongodb_session_user_update($edit, $account) {
// Update field values for changed values of the user.
if (module_exists('mongodb_field_storage')) {
And yes, I'm using mongodb_field_storage.
Comment #3
Rok Žlender commentedI'm looking into this as well that user update hook looks very old has @bundle and @fields in it still should have a patch ready in couple of hours.
Comment #4
Rok Žlender commentedI think this patch should fix the problems and also clear out some odities in session read
Comment #5
Rok Žlender commentedA small addition to the patch to update login field in mongo that doesn't get updated through user_save.
Comment #6
attekilpela commentedGreat work!
The custom fields are now saved correctly.
Comment #7
misc commentedWonderful, committed to the latest dev.