When I try to clear the submissions, it returns a message that there are none. When I click on the submissions button, it will show them again. I can delete them individually but that can be very time consuming.
My site is just a small neighborhood site for which I volunteer but there can be a lot of submissions. It also uses sqlite as the database.

Also, thank you so much for this module. This and Views are what make drupal the greatest.

Philbert

CommentFileSizeAuthor
#7 3066836-7.patch2.43 KBjrockowitz
#4 3066836-4.patch564 bytesjrockowitz

Comments

MrPhilbert created an issue. See original summary.

jrockowitz’s picture

This issue is related to SQLite and I am able to replicate this problem locally.

jrockowitz’s picture

We are running into #2595499: Support SQLite pseudo-bool fields.

The webform submission draft field is a boolean

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new564 bytes

Please try the attached patch.

MrPhilbert’s picture

Thanks for the incredibly quick response.
I tried the patch, cleared the cache and clearing the submissions still does not work.
It looks like this patch is a function to clear the form itself.

Could it be in the Purge methods?

Philbert

jrockowitz’s picture

Hmmm… please try the patch from #3066842: Clearing submissions does not count drafts in the total number of submission being deleted. The issue seems to be related to getting the total number of submission.

jrockowitz’s picture

StatusFileSize
new2.43 KB

There are 4 broken tests for SQLite. The attached patch fixes this issue and the broken tests.

jrockowitz’s picture

Title: Clear button does not clear submissions » Broken tests and functionality in SQLite

Changing title to accurately reflect the scope of this issue.

  • jrockowitz authored 9446b84 on 8.x-5.x
    Issue #3066836 by jrockowitz: Broken tests and functionality in SQLite
    
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch because it fixes broken tests. Please download the latest dev release.

Status: Fixed » Closed (fixed)

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