I made a form for my coworkers. They emailed out the url to this form so that people could fill the form out. However, we have a weird error that I did not find when i searched this issue area. drupal assigned weird numbers to each submission. Some numbers were skipped over and we can't tell if we lost data or if this is a bug.

2
5
6
7
8
19
33

So....is this a glitch or did we loose data? I really really need to know and I don't know enough about code to figure this out on my own.

Thanks for any insight.

Becky

CommentFileSizeAuthor
#3 image.png14.2 KBalistair.boudreaux

Comments

beckyjohnson’s picture

I looked in my database and found this error too in the webforms submission table :

PRIMARY and INDEX keys should not both be set for column `sid` What should they be set for if not sid? How can I fix this? I downloaded my spreadsheet from this form and it is the sid column that is screwed up.

I hope someone can help,

Thanks,
Becky

quicksketch’s picture

Status: Active » Closed (fixed)

Webform submissions should indeed be ordered numerically, since the sid column is simply an auto-increment column. Unfortunately I don't know what could cause this problem and I've never seen it personally. I'm closing this issue since there were no confirmations or similar reports since it was filed. Please reopen if you are still experiencing this in the latest version of Webform.

alistair.boudreaux’s picture

Version: 6.x-2.6 » 6.x-2.9
Status: Closed (fixed) » Active
StatusFileSize
new14.2 KB

One of my users has reported a similar issue. The numbers in our main contact form are skipping as well. One particular series looks like this...
870
880
887
888
896
899
903
906
907
909
910
914
923
924
926
927
929
930
938
939
940
943

I haven't been able to discern a pattern. Could there be submissions not coming through?

quicksketch’s picture

Webform submissions share submission numbers across all forms on your site, so it's likely that some submissions are simply being made on a different form other than the contact form.

alistair.boudreaux’s picture

Status: Active » Closed (fixed)

Excellent! That makes a ton of sense. Thanks.