View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10823Bug reportsStatisticspublic2016-04-06 11:06
ReporterLiod_DS Assigned Toollehar  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10823: Can't read the timing data
Description

When i try to read my timing data it gives me an error (reported in "additional information)

Steps To Reproduce

Start a survey with the timing setup on, then try to read the data

Additional Information

Undefined index: edition

/var/www/vhosts/limesurvey/www/application/views/admin/responses/browsemenubar_view.php(3)

01 <div class='menubar surveybar' id="browsermenubarid">
02 <div class='row container-fluid'>
03 <?php if(isset($menu) && !$menu['edition']): ?>
04 <div class="col-md-12">
05 <!-- Show summary information -->
06 <?php if (Permission::model()->hasSurveyPermission($surveyid, 'responses', 'read')): ?>
07 <a class="btn btn-default" href='<?php echo $this->createUrl("admin/responses/sa/index/surveyid/$surveyid"); ?>' role="button">
08 <span class="glyphicon glyphicon-list-alt text-success"></span>
09 <?php eT("Summary"); ?>
10 </a>
11 <?php endif;?>
12
13 <?php if (Permission::model()->hasSurveyPermission($surveyid, 'responses', 'read')): ?>
14
15
Stack Trace
#0

  • /var/www/vhosts/limesurvey/www/framework/web/CBaseController.php(126): require("/var/www/vhosts/limesurvey/www/application/views/admin/responses...")
    #1
  • /var/www/vhosts/limesurvey/www/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/vhosts/limesurvey/www/application/views/admin/responses...", array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), true)
    #2
  • /var/www/vhosts/limesurvey/www/framework/web/CController.php(869): CBaseController->renderFile("/var/www/vhosts/limesurvey/www/application/views/admin/responses...", array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), true)
    #3
    – /var/www/vhosts/limesurvey/www/application/core/Survey_Common_Action.php(1197): CController->renderPartial("/admin/responses/browsemenubar_view", array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...))
    1192 if(!isset($aData['menu']['closeurl']))
    1193 {
    1194 $aData['menu']['closeurl'] = Yii::app()->request->getUrlReferrer(Yii::app()->createUrl("/admin/responses/sa/browse/surveyid/".$aData['surveyid']) );
    1195 }
    1196
    1197 $this->getController()->renderPartial("/admin/responses/browsemenubar_view", $aData);
    1198 }
    1199 }
    1200 /*
    1201
    Load menu bar of user group controller.
    1202 * @param int $ugid
    #4
    – /var/www/vhosts/limesurvey/www/application/core/Survey_Common_Action.php(270): Survey_Common_Action->_browsemenubar(array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...))
    265
    266 //// Each view will call the correct bar as a subview.
    267 $this->_surveybar($aData);
    268 $this->_nquestiongroupbar($aData);
    269 $this->_questionbar($aData);
    270 $this->_browsemenubar($aData);
    271 $this->_tokenbar($aData);
    272 $this->_organizequestionbar($aData);
    273
    274 //// TODO : check what it's doing exactly, and why it is here (not after or before)
    275 //// It seems that it is not used at all. It's about timing
    #5
    – /var/www/vhosts/limesurvey/www/application/controllers/admin/responses.php(1478): Survey_Common_Action->_renderWrappedTemplate("responses", array(0 => "browsetimeheader_view", "browsetimerow_view" => array(array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...)), 1 => "browsetimefooter_view"), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...))
    1473
    1474 $surveyinfo = Survey::model()->findByPk($iSurveyId)->surveyinfo;
    1475 $aData["surveyinfo"] = $surveyinfo;
    1476 $aData['title_bar']['title'] = gT('Browse responses').': '.$surveyinfo['surveyls_title'];
    1477
    1478 parent::_renderWrappedTemplate('responses', $aViewUrls, $aData);
    1479 }
    1480
    1481 }
    #6
  • /var/www/vhosts/limesurvey/www/application/controllers/admin/responses.php(1388): responses->_renderWrappedTemplate("", array(0 => "browsetimeheader_view", "browsetimerow_view" => array(array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...)), 1 => "browsetimefooter_view"), array("iSurveyId" => 494888, "surveyid" => 494888, "imageurl" => "/images", "action" => null, ...))
    #7
    unknown(0): responses->time("494888")
    #8
  • /var/www/vhosts/limesurvey/www/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(responses, array("494888"))
    #9
  • /var/www/vhosts/limesurvey/www/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(responses, ReflectionMethod, array("surveyid" => "494888", "sa" => "time", "iSurveyId" => "494888", "iSurveyID" => "494888"))
    #10
  • /var/www/vhosts/limesurvey/www/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "494888", "sa" => "time"))
    #11
  • /var/www/vhosts/limesurvey/www/framework/web/CController.php(286): CController->runAction(responses)
    #12
  • /var/www/vhosts/limesurvey/www/framework/web/CController.php(265): CController->runActionWithFilters(responses, array())
    #13
  • /var/www/vhosts/limesurvey/www/application/controllers/AdminController.php(164): CController->run("responses")
    #14
  • /var/www/vhosts/limesurvey/www/framework/web/CWebApplication.php(282): AdminController->run("responses")
    #15
  • /var/www/vhosts/limesurvey/www/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/responses/sa/time")
    #16
  • /var/www/vhosts/limesurvey/www/framework/base/CApplication.php(185): CWebApplication->processRequest()
    #17
  • /var/www/vhosts/limesurvey/www/index.php(211): CApplication->run()
TagsNo tags attached.
Attached Files
LS-studioTempi-tasto.png (108,558 bytes)
Bug heat6
Complete LimeSurvey version number (& build) Build 160323
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionnot sure
Server OS (if known)not sure
Webserver software & version (if known)not sure
PHP Versionnot sure

Users monitoring this issue

Liod_DS

Activities

c_schmitz

c_schmitz

2016-04-01 16:17

administrator   ~36937

Browsing timings screen seems to be completely unstyled yet.
Needs to be fixed.

ollehar

ollehar

2016-04-01 16:42

administrator   ~36941

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=18268

ollehar

ollehar

2016-04-04 16:25

administrator   ~36984

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=18299

ollehar

ollehar

2016-04-04 17:03

administrator   ~36995

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=18303

ollehar

ollehar

2016-04-05 11:12

administrator   ~37002

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=18313

Related Changesets

LimeSurvey: master fe107eda

2016-04-01 14:39:46

ollehar

Details Diff
Fixed issue 10823: Can't read the timing data

Dev: Make the page load, at least.
Affected Issues
10823
mod - application/core/Survey_Common_Action.php Diff File
mod - application/views/admin/responses/browsetimefooter_view.php Diff File
mod - application/views/admin/responses/browsetimeheader_view.php Diff File

LimeSurvey: master a93d4203

2016-04-04 14:24:28

ollehar

Details Diff
Fixed issue 10823: Can't read the timing data

Dev: Use TbGridView.
Affected Issues
10823
mod - application/controllers/admin/responses.php Diff File
mod - application/extensions/AdminFooter/views/footer.php Diff File
mod - application/models/SurveyTimingDynamic.php Diff File
mod - application/views/admin/dataentry/delete.php Diff File
mod - application/views/admin/responses/browsetimefooter_view.php Diff File
mod - application/views/admin/responses/browsetimeheader_view.php Diff File
mod - application/views/admin/responses/browsetimerow_view.php Diff File

LimeSurvey: master 147bbdd0

2016-04-04 14:58:23

ollehar

Details Diff
Fixed issue 10823: Can't read the timing data

Dev: Striped table
Affected Issues
10823
mod - application/controllers/admin/responses.php Diff File
mod - application/views/admin/responses/browsetimerow_view.php Diff File

LimeSurvey: master 1f79a898

2016-04-04 15:38:35

ollehar

Details Diff
Fixed issue 10823: Can't read the timing data

Dev: Small style fixes.
Affected Issues
10823
mod - application/models/SurveyTimingDynamic.php Diff File
mod - application/views/admin/responses/browsetimerow_view.php Diff File
mod - styles/Sea_Green/css/lime-admin-common.css Diff File

Issue History

Date Modified Username Field Change
2016-03-24 10:27 Liod_DS New Issue
2016-03-24 10:27 Liod_DS File Added: LS-studioTempi-tasto.png
2016-03-24 10:35 Liod_DS Issue Monitored: Liod_DS
2016-03-24 10:37 Liod_DS File Added: limesurvey_survey_494888.lss
2016-03-31 10:18 LouisGac Priority none => high
2016-04-01 16:16 c_schmitz Assigned To => ollehar
2016-04-01 16:16 c_schmitz Status new => assigned
2016-04-01 16:17 c_schmitz Note Added: 36937
2016-04-01 16:17 c_schmitz Priority high => urgent
2016-04-01 16:17 c_schmitz File Added: FireShot Capture 9 - LimeSurvey__ - http___localhost_limesurvey250_inde.png
2016-04-01 16:42 ollehar Changeset attached => LimeSurvey master fe107eda
2016-04-01 16:42 ollehar Note Added: 36941
2016-04-01 16:42 ollehar Resolution open => fixed
2016-04-04 16:25 ollehar Changeset attached => LimeSurvey master a93d4203
2016-04-04 16:25 ollehar Note Added: 36984
2016-04-04 17:03 ollehar Changeset attached => LimeSurvey master 147bbdd0
2016-04-04 17:03 ollehar Note Added: 36995
2016-04-05 11:12 ollehar Changeset attached => LimeSurvey master 1f79a898
2016-04-05 11:12 ollehar Note Added: 37002
2016-04-05 11:37 ollehar Status assigned => resolved
2016-04-05 11:37 ollehar Fixed in Version => 2.5
2016-04-06 11:06 ollehar Status resolved => closed
2021-08-02 22:31 guest Bug heat 4 => 6