knieper / crltmich

0 stars 0 forks source link

C2 certificates created without consultant email, shows as "no state" #23

Closed jynxiesue closed 8 years ago

jynxiesue commented 8 years ago

I tried to test to see how a C2 created through requesting a Midterm Student Feedback but because I'm not a graduate student, it did not show up in my portfolio. Here is a screen shot of the page after hitting submit (Please note that there is a failed to load the specified GTC account in the yellow bar in the screenshot below.): screen shot 2016-02-11 at 9 53 21 am

jynxiesue commented 8 years ago

Screen shot with the email I received with "Dear name". screen shot 2016-02-11 at 10 02 06 am

mbakewel commented 8 years ago

In looking at the webform (http://crlt.umich.edu/node/3/webform) the default value for the First and Last Name field is blank, but the default value "name" shows up on the form anyway. I tried changing it to something else - "Meg Bakewell" - and it still shows up as "name" on the form. I don't know why it's doing this!

knieper commented 8 years ago

In testing by changing the form key value from 'name' to 'names' I was able to get the profile token to come through. I suspect that there is a name clash because search the mysql table for webform components shows 19 different webform components with the key of 'name'.

*If the user does not have their profile name filled in then it leaves the field blank. It is required so the user must fill it in.

This should be correct on production already since it was just a minor configuration change via the browser - no code changes required - and tests as a graduate student show the webform to node process and the certification creation process with workflow of 'approved' is working fine.