Profile date type sent serialized

samuelet - July 3, 2008 - 09:02
Project:User registration notification
Version:5.x-1.4
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Thanks for the http://drupal.org/node/272948 fix.
Just only a minor bug when the profile type is "date".
A serialized string like this:
profile_my_date: a:3:{s:3:"day";s:2:"29";s:5:"month";s:1:"5";s:4:"year";s:4:"1959";}
is sent instead of a readable value.

#1

madwalo - July 4, 2008 - 15:09

i have right the same problem!
what kind of string is that?

#2

rmiddle - July 4, 2008 - 15:15
Status:active» postponed

That is how Drupal stores arrays. It syntax is very close to Json. I will try to get a fix at some point but the data is there.

Thanks
Robert

#3

madwalo - July 4, 2008 - 15:51

hey!
thanks but how can we handle that var?
i need to separate the Y M D values to set the default value
thanks

#4

rmiddle - July 4, 2008 - 16:15

No support for breaking those down in User Registration Notification at this time.

Thanks
Robert

#5

rmiddle - July 17, 2008 - 00:25

Fixed and added into 1.5. Also checkbox now reports check and not checked.

Thanks
Robert

#6

rmiddle - July 17, 2008 - 00:25
Status:postponed» fixed

#7

rmiddle - July 31, 2008 - 04:05
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.