View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16403Bug reportsImport/Exportpublic2020-12-29 10:42
ReporterDenisChenu Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version3.22.20 
Summary16403: Unable to export lss with debug = 2
Description

Some survey seems unable to be exported as lss

Steps To Reproduce

Import this survey
Set debug = 2
Try to export this survey

Additional Information

When try to open on a new tab:; white page : nothing ¿

      <h1>PHP notice</h1>
      <p class="message">
        Undefined offset: 1 </p>
      &lt;div class=&quot;source&quot;>
        &lt;p class=&quot;file&quot;>/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/export_helper.php(692)</p>
        &lt;div class=&quot;code&quot;><pre>&lt;span class=&quot;ln&quot;>680&lt;/span> * @param mixed $Query  The table query to build from
    &lt;span class=&quot;ln&quot;>681&lt;/span> * @param string $tagname  If the XML tag of the resulting question should be named differently than the table name set it here
    &lt;span class=&quot;ln&quot;>682&lt;/span> * @param string[] $excludes array of columnames not to include in export
    &lt;span class=&quot;ln&quot;>683&lt;/span> */
    &lt;span class=&quot;ln&quot;>684&lt;/span> function buildXMLFromQuery($xmlwriter, $Query, $tagname = &#039;&#039;, $excludes = array())
    &lt;span class=&quot;ln&quot;>685&lt;/span> {
    &lt;span class=&quot;ln&quot;>686&lt;/span>     $iChunkSize = 3000; // This works even for very large result sets and leaves a minimal memory footprint
    &lt;span class=&quot;ln&quot;>687&lt;/span> 
    &lt;span class=&quot;ln&quot;>688&lt;/span>     preg_match(&#039;/\bfrom\b\s*{{(\w+)}}/i&#039;, $Query, $MatchResults);
TagsNo tags attached.
Attached Files
image_select-more.lss (18,910 bytes)
Bug heat6
Complete LimeSurvey version number (& build)3.22.20
I will donate to the project if issue is resolvedNo
Browserff
Database type & versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP Version7.4.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2020-06-19 10:50

administrator   ~58348

Yeah, saw this too. More urgent: MySQL 8 fixes (will apply today).

DenisChenu

DenisChenu

2020-06-19 10:54

developer   ~58349

It's not survey specific ?
I think it was … :)

DenisChenu

DenisChenu

2020-06-19 10:55

developer   ~58350

debug = 2 mean :

  1. Must be fixed because can hide some other issue
  2. But since we don't know other issue : less urgent

In my opinion

cdorin

cdorin

2020-12-28 13:02

reporter   ~61214

Hey @DenisChenu - still having the issue? Is it related to mysql 8 or.. ?

DenisChenu

DenisChenu

2020-12-29 08:56

developer   ~61265

F** i have This is not a valid LimeSurvey survey structure XML file. with this lss file ??

And don't have this issue with other survey …

Maybe @ollehar fix it ?

ollehar

ollehar

2020-12-29 10:31

administrator   ~61267

ok?

DenisChenu

DenisChenu

2020-12-29 10:42

developer   ~61268

Let close until the next time is see it ;)

Issue History

Date Modified Username Field Change
2020-06-19 09:16 DenisChenu New Issue
2020-06-19 09:16 DenisChenu File Added: image_select-more.lss
2020-06-19 09:16 DenisChenu File Added: Capture d’écran du 2020-06-19 09-15-16.png
2020-06-19 10:50 ollehar Note Added: 58348
2020-06-19 10:54 DenisChenu Note Added: 58349
2020-06-19 10:55 DenisChenu Note Added: 58350
2020-12-28 13:02 cdorin Note Added: 61214
2020-12-28 13:03 cdorin Status new => feedback
2020-12-29 08:56 DenisChenu Note Added: 61265
2020-12-29 08:56 DenisChenu Status feedback => new
2020-12-29 10:31 ollehar Note Added: 61267
2020-12-29 10:42 DenisChenu Assigned To => ollehar
2020-12-29 10:42 DenisChenu Status new => closed
2020-12-29 10:42 DenisChenu Resolution open => unable to reproduce
2020-12-29 10:42 DenisChenu Note Added: 61268