View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04480Bug reportsImport/Exportpublic2010-10-13 21:14
ReporterEvan Assigned Tomdekker  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90RC2 
Target Version1.90RC3Fixed in Version1.90+ 
Summary04480: Export survey is blank. Export group and export question give fatal error
Description

Export whole survey serves empty .lss file (but no error)

When exporting Question or Group, you get a Fatal Error message.
Fatal error: Class 'XMLWriter' not found in /home/evanw/limesurvey190rc2_8906/admin/dumpquestion.php on line 40

Steps To Reproduce

In LS1.90rc2 go to survey in admin
click on "Export survey structure"
download empty document

Go to group in survey or question in group and click on "Export this question group" or "Export this question"

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)8906
I will donate to the project if issue is resolved
Browserany
Database type & versionMySQL 5.0.77 (LS DB# 143)
Server OS (if known)Centos
Webserver software & version (if known)Apache2
PHP Version5.1.6

Relationships

related to 04352 closedMazi labelset export not working 

Users monitoring this issue

There are no users monitoring this issue.

Activities

mdekker

mdekker

2010-07-14 10:37

reporter   ~12425

XMLWriter does not seem to be standard in all PHP configurations. Maybe we should add some error checking and a nice error message pointing someone in the right direction.

Mazi

Mazi

2010-07-16 15:41

updater   ~12437

Last edited: 2010-07-16 15:41

  1. I can export a survey but it really takes some time using the 1.80 sample survey. Maybe you run into a timeout? I can open the exported file without having problems.

  2. Opening exported groups or questions also works fine.

Maybe we should output a note if XML Writer is missing? Carsten, what do you think?

mdekker

mdekker

2010-07-16 15:58

reporter   ~12438

  1. Exporting is instant in my install. Did you use lastest svn? I did a fix the other day to speed up export, if you can confirm that it does speed up it would be great :)

I was thinking to replace the instantiation of the xmlwriter with a helper function so we can easily change the error message. I don't really know what to write there but I will start with telling what is wrong :)
I'll put everything in place. If Carsten decides otherwise I just remove the error message :)

Mazi

Mazi

2010-07-16 23:34

updater   ~12439

  1. I just tested the latest dev. version and export was really fast, great work!

Checking for XML-Writer and throwing an according error message would be nice.

c_schmitz

c_schmitz

2010-07-17 21:43

administrator   ~12447

mdekker, sure, please go ahead.

mdekker

mdekker

2010-07-19 09:10

reporter   ~12451

@Evan, I did a patch to show an error message if the xmlwriter class is not compiled into php but I can not test to verify that it works. Could you please update to latest svn and check to see if it works or needs some extra work?

Evan

Evan

2010-07-20 07:09

reporter   ~12465

Hi mdekker. Somehow I've killed my MySQL server and I'm away for a week so won't be able to test until I get back to work (Wednesday 28 July) or get my MySQL server up and running again. Very sorry. (on the up side I now have a baby daughter :) )

mdekker

mdekker

2010-07-20 08:46

reporter   ~12466

Congratulations! (on your daughter that is, not on the server ;-) ) Take your time with your family, we can leave the bug open no problem.

mdekker

mdekker

2010-08-25 09:44

reporter   ~12709

Evan, any news on this so we can close the report?

Mazi

Mazi

2010-09-30 00:40

updater   ~12946

I think we can close this one?!

Issue History

Date Modified Username Field Change
2010-07-14 01:48 Evan New Issue
2010-07-14 10:33 mdekker Relationship added related to 04352
2010-07-14 10:37 mdekker Note Added: 12425
2010-07-16 15:41 Mazi Note Added: 12437
2010-07-16 15:41 Mazi Note Edited: 12437
2010-07-16 15:41 Mazi Assigned To => c_schmitz
2010-07-16 15:41 Mazi Status new => assigned
2010-07-16 15:58 mdekker Note Added: 12438
2010-07-16 23:34 Mazi Note Added: 12439
2010-07-17 21:43 c_schmitz Note Added: 12447
2010-07-17 21:43 c_schmitz Assigned To c_schmitz => mdekker
2010-07-19 09:10 mdekker Note Added: 12451
2010-07-19 09:10 mdekker Assigned To mdekker => Evan
2010-07-19 09:10 mdekker Status assigned => feedback
2010-07-20 07:09 Evan Note Added: 12465
2010-07-20 07:09 Evan Status feedback => assigned
2010-07-20 07:09 Evan Status assigned => acknowledged
2010-07-20 08:46 mdekker Note Added: 12466
2010-08-25 09:44 mdekker Note Added: 12709
2010-08-25 23:27 c_schmitz Status acknowledged => feedback
2010-09-30 00:40 Mazi Note Added: 12946
2010-10-13 21:14 c_schmitz Status feedback => closed
2010-10-13 21:14 c_schmitz Assigned To Evan => mdekker
2010-10-13 21:14 c_schmitz Resolution open => fixed
2010-10-13 21:14 c_schmitz Fixed in Version => 1.90+