hey coleman

my colleague has spotted that since we upgraded to 7.x-4.0-rc3 and 7.x-4.6 the Submissions screen in webform is not showing anything in the Name column, where it used to show the civicrm contact.

As far as i can see everything else is firing fine.

The form is creating new contacts.

If I click through to View Submission I see the civi name showing as a link in the (in our case) Student Name field, plus their First/Last.

What more can I add that might be helpful if you think this is something that is a problem in the w-c code? Or might it be a webform issue?

Comments

laryn’s picture

This is happening for me as well. I've poked around in the code but haven't found the issue yet.

I am happy to provide further details as well to help troubleshoot.

laryn’s picture

Preliminary testing (ie. looking at results on a single form) indicate that 7.x-4.7 solves this issue.

EDIT: Maybe not. I will try to set some time aside for more thorough testing this week.

colemanw’s picture

Huh, I'm not able to reproduce this using the latest code. While poking at it I made a few superficial changes (like changing the column header from "Name" to whatever label you have given to Contact 1) and fixed a potential php notice, but I doubt that will affect this issue.
If anyone is able to reproduce and is using the latest version of Webform, Drupal, and this module, please let me know. It might be helpful if I could log into your site to see for myself.

petednz’s picture

sorry haven't tested this yet (and unsure why drupal didn't notify me of your reply) but

just spotted this

on webform submissions it says #11 in top row, and shows 4.58 - but the 'time' of the submission shows 17.02 which means it should be contact 5.02

mousing over the 'view' does indeed show me ../node/149/submission/12

so while some cells think this is submission 11, others think it is submission 12

in the db i see that there is no sid 7 (guessing we deleted it but no memory/record of that)

so is this shedding light - or pointing in an entirely new area?

images attached which i hope will help

  • colemanw committed 64425d1 on 7.x-4.x
    Issue #2270045 - Fix name column in submission results by retrieving...
colemanw’s picture

Ah, finally figured it out! Looks like that results table has recently changed so that the first column now shows the serial number rather than the id of the submission, and it was confusing this module. Have pushed a fix up to dev to retrieve the correct sid.

colemanw’s picture

Status: Active » Fixed
colemanw’s picture

petednz’s picture

thanks for resolving this one - tested and am now seeing names/links for civi contacts in Name field on submission tab.

laryn’s picture

Confirmed that the latest dev fixes this. Thanks!

Status: Fixed » Closed (fixed)

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

colemanw’s picture

Update... it's broken again due to another upstream change in Webform module. If anyone with any knowledge of views code could please take a look at #2389537: Webform results view missing CiviCRM contact info