on line 251 of content_profile_create_user.module there is a loop that asks cck for the email fields based on the name of the content type. CCK is expecting the machine name of the content type (at least it is in version 3.x-alpha) but the value provided by Content Profile is the human name. Sending CCK the key of the array returned by Content Profile fixes the problem.

Additionally, the conversion fails with the message "Could not create user, no email found for %title" which is a little cryptic in this case :P

Comments

thedavidmeister’s picture

Status: Active » Needs review
StatusFileSize
new773 bytes

patch attached

ianwremmel’s picture

Assigned: Unassigned » ianwremmel
Status: Needs review » Needs work

Without having looked at anything but your patch, I'm guessing this is a result of a change between CCK 2 and 3. I'll do a little more digging and most likely get your patch committed this weekend.

thedavidmeister’s picture

if it *is* due to an API change between CCK 2 and 3 then the patch will need more work to figure out what's going on before it tries to access the data.

thedavidmeister’s picture

StatusFileSize
new996 bytes

rerolling and modifying the patch slightly so that the variable names make more sense

ianwremmel’s picture

Status: Needs work » Needs review

Sorry for the delay in investigating this. Let's just say life's gotten very busy lately.

I've added this patch to the development branch.

ianwremmel’s picture

Status: Needs review » Fixed

I just ran a few minor tests against views-2.16 and views-3.0 and both worked so I'm marking this as fixed.

ianwremmel’s picture

Status: Fixed » Needs review

Of course, this has nothing to do with views, so I still need to test it against cck.

ianwremmel’s picture

Status: Needs review » Fixed

Tested against cck 6.x-2.9 and 6.x-3.0-alpha3

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.