View Issue Details

This issue 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>
      <div class="source">
        <p class="file">/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/export_helper.php(692)</p>
        <div class="code"><pre><span class="ln">680</span> * @param mixed $Query  The table query to build from
    <span class="ln">681</span> * @param string $tagname  If the XML tag of the resulting question should be named differently than the table name set it here
    <span class="ln">682</span> * @param string[] $excludes array of columnames not to include in export
    <span class="ln">683</span> */
    <span class="ln">684</span> function buildXMLFromQuery($xmlwriter, $Query, $tagname = &#039;&#039;, $excludes = array())
    <span class="ln">685</span> {
    <span class="ln">686</span>     $iChunkSize = 3000; // This works even for very large result sets and leaves a minimal memory footprint
    <span class="ln">687</span> 
    <span class="ln">688</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