Project

General

Profile

Actions

tickets #163583

open

Unable to export survey data from survey-o-o - Undefined variable $editorEnabled

Added by lkocman 17 days ago. Updated 16 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Surveys
Target version:
-
Start date:
2024-07-10
Due date:
% Done:

0%

Estimated time:

Description

The leap 15.6 survey can't be currently exported because of undefined variable editorEnabled

https://survey.opensuse.org/index.php?r=admin/export/sa/exportresults/surveyid/438997 currently returns

Undefined variable $editorEnabled

/usr/share/php8/limesurvey/application/views/surveyAdministration/partial/topbar/surveyTopbarRight_view.php(149)

137             'icon' => 'ri-download-2-fill',
138             'htmlOptions' => [
139                 'class' => 'btn btn-primary',
140                 'role' => 'button',
141                 'data-submit-form' => 1,
142             ],
143         ]
144     );
145 }
146 ?>
147 
148 <?php
149     if ($editorEnabled && $editorUrl) {
150         $this->widget(
151             'ext.ButtonWidget.ButtonWidget',
152             [
153                 'name' => 'editor-link-button',
154                 'id' => 'editor-link-button',
155                 'text' => gT('Open in new Editor'),
156                 'icon' => 'ri-article-line',
157                 'link' => $editorUrl,
158                 'htmlOptions' => [
159                     'class' => 'btn btn-secondary',
160                     'role' => 'button',
161                 ],
Actions #1

Updated by lkocman 17 days ago

  • Private changed from Yes to No
Actions #2

Updated by crameleon 17 days ago ยท Edited

  • Category set to Surveys

Hi,

thanks for reporting.

Relevant upstream issue: https://bugs.limesurvey.org/view.php?id=19320. History suggests it is resolved with a commit included in 6.4.5. We are still at 6.4.1: https://build.opensuse.org/package/show/openSUSE:infrastructure/limesurvey - best for us to update to the latest (6.5.16).

Actions #3

Updated by crameleon 17 days ago

  • Status changed from New to In Progress
  • Assignee set to crameleon
Actions #6

Updated by crameleon 16 days ago

  • Status changed from In Progress to Feedback

All updated, export of my test survey works fine.
Please confirm if your issue is resolved as well, Lubos.

Actions

Also available in: Atom PDF