Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19336Bug reportsSurvey editingpublic2024-01-08 10:57
Reporterteracomp Assigned Togabrieljenik  
PrioritynoneSeveritycrash 
Status closedResolutionduplicate 
Product Version6.4.x 
Summary19336: Undefined variable: editorEnabled
Description

Check Logic on any level (survey, group, question), and it crashes with a PHP Notice: Undefined variable: editorEnabled

Steps To Reproduce

Steps to reproduce

Select any survey
Select Structure
Select a Group
Click on ... and select check logic
Immediately get an error, no Survey Logic file is produced.

/.../application/views/surveyAdministration/partial/topbar/surveyTopbarRight_view.php(149)

Expected result

I expected to see the Survey Logic file to verify my equations (in this particular case)

Actual result

PHP Notice
Undefined variable: editorEnabled

/home/hgctoo5/public_html/truewiring.com/app/s/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 ],

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.4.0+231218
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionmysql (10.2.44-MariaDB)
Server OS (if known)linux
Webserver software & version (if known)Apache 2.4.58
PHP Version7.4

Relationships

duplicate of 19320 closedtibor.pacalat Error after accessing to response export view 

Activities

teracomp

teracomp

2024-01-06 11:31

reporter   ~79095

I forgot to upload the LSS file - attached here. Thank you!

Issue History

Date Modified Username Field Change
2024-01-03 21:59 teracomp New Issue
2024-01-03 21:59 teracomp File Added: Screenshot 2024-01-03 at 3.36.14 PM.png
2024-01-03 21:59 teracomp File Added: Screenshot 2024-01-03 at 3.36.37 PM.png
2024-01-03 21:59 teracomp File Added: Screenshot 2024-01-03 at 3.57.33 PM.png
2024-01-06 11:31 teracomp Note Added: 79095
2024-01-06 11:31 teracomp File Added: limesurvey_survey_555376.lss
2024-01-06 11:31 teracomp Bug heat 0 => 2
2024-01-08 10:57 DenisChenu Relationship added duplicate of 19320
2024-01-08 10:57 DenisChenu Assigned To => gabrieljenik
2024-01-08 10:57 DenisChenu Status new => closed
2024-01-08 10:57 DenisChenu Resolution open => duplicate