FormWizard Pro - Export Orphan Responses CSV Blank

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/1/2012 3:18:54 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

FormWizard Pro - Export Orphan Responses CSV Blank

We're experiencing an issue when trying to export orphan responses from the FormWizard Pro on one of our sites. We can export the CSV with no issues, but the file is blank when there should be 87 orphans listed.

No error shows up in the Error Log.

The site is running an older version (2.3.4.8 MSSQL) and updating is not an option right now.

Any thoughts? How can we retrieve these 87 submissions?

Thanks!

3/1/2012 5:59:41 PM
Gravatar
Total Posts 2253

Re: FormWizard Pro - Export Orphan Responses CSV Blank

Hi,

I think this issue was reported a while back and fixed in a newer release of FWP. The version of mojo you're running is very old and actually has some security bugs so you might want to look into upgrading. I know you said it's not an option but keeping a site running using software that has security holes isn't really an option either.

If you absolutely can't upgrade, you might be able to write your own SQL to pull the information from the db.

HTH,
Joe D.

3/2/2012 6:04:39 AM
Gravatar
Total Posts 18439

Re: FormWizard Pro - Export Orphan Responses CSV Blank

Hi,

It isn't really feasible to fix bugs in old versions so really I agree with Joe that upgrading both mojoPortal and Form Wizard Pro is the best solution, though you will need to make corresponding changes in your skin after upgrading.

There was a bug in old versions of Form Wizard where deleting results from one form instance was causing orphans in other instances. That specific bug was deleting incorrect rows from the sts_WebFormResponseSet table so the orphans would be found by

SELECT * FROM sts_WebFormResponse WHERE
[ResponseSetGuid] NOT IN (SELECT [Guid]
FROM [dbo].[sts_WebFormResponseSet]

The stored procedure that caused the problem was fixed in version 0.0.2.4 of Form Wizard. The procedure changed from this:

CREATE PROCEDURE [dbo].[sts_WebFormResponse_DeleteByForm]

/*
Author: Joe Audette
Created: 2008-09-26
Last Modified: 2008-09-26
*/

@FormGuid uniqueidentifier

AS

DELETE FROM [dbo].[sts_WebFormResponse]
WHERE
[ResponseSetGuid] IN (SELECT ResponseSetGuid
FROM [dbo].[sts_WebFormResponseSet]
WHERE FormGuid = @FormGuid)

to this:

ALTER PROCEDURE [dbo].[sts_WebFormResponse_DeleteByForm]

/*
Author: Joe Audette
Created: 2008-09-26
Last Modified: 2011-03-29
*/

@FormGuid uniqueidentifier

AS

DELETE FROM [dbo].[sts_WebFormResponse]
WHERE
[ResponseSetGuid] IN (SELECT [Guid]
FROM [dbo].[sts_WebFormResponseSet]
WHERE FormGuid = @FormGuid)

Hope that helps,

Joe

3/2/2012 7:30:52 AM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: FormWizard Pro - Export Orphan Responses CSV Blank

Thanks guys. We do plan to update this site, but not right now. If I only update FormWizard will it solve the problem? Is FWP v. 0.0.2.4 compatible with this version of mojoPortal?

3/2/2012 7:38:02 AM
Gravatar
Total Posts 18439

Re: FormWizard Pro - Export Orphan Responses CSV Blank

No, mojoPortal 2.3.4.8 is from July 2010, that is very old.

The System Requirments tab on the Form Wizard product page shows that Form Wizard 0.0.2.4 required mojoPortal version 2.3.6.4.

There is simply no way to get all bug fixes other than upgrading.

You could use the select statement I provided to get the current orphans and you could run the alter procedure statement to possibly fix the problem that caused the orphans but that is about as much as you can do short of upgrading.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.