View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
11380Bug reportsOtherpublic2016-06-20 15:31
ReporterDenisChenu Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11380: Yii::log table is hidden
Description

When using tracavar (Yii::trace) : we don't see the start of the log

Steps To Reproduce
  • Set debug at 2
  • Import and activate the plugin attached
  • look at bottom of screen
Additional Information

Same with trace or log

Actual solution : add a plugin to set .yiiLog{margin-bottom:65px}

TagsNo tags attached.
Attached Files
traceVarTest.php (825 bytes)   
<?php
/**
 * Description
 *
 * @author Denis Chenu <denis@sondages.pro>
 * @copyright 2016 Denis Chenu <http://www.sondages.pro>
 * @license WTFPL/LPRAB
 * @version 0.0.1
 *
 * You just DO WHAT THE FUCK YOU WANT TO.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
class traceVarTest extends PluginBase
{

  protected $storage = 'DbStorage';

  static protected $name = 'traceVarTest';
  static protected $description = 'tracevar (Yii::log) in admin GUI';

  public function init() {
    $this->subscribe('beforeControllerAction', 'traceVar');
  }
  public function traceVar()
  {
    tracevar("did you see this");
  }
}
traceVarTest.php (825 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)160615
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-06-17 23:15

developer   ~39691

I do plugin ;)
https://framagit.org/SondagePro-LimeSurvey-plugin/showYiiLog/blob/master/showYiiLog.php

LouisGac

LouisGac

2016-06-20 12:24

developer   ~39699

so we can close it right?
In general, plugin should deal with their own needed CSS

DenisChenu

DenisChenu

2016-06-20 12:45

developer   ~39705

It's not bspecific for plugin : needed for all user who nee dto trace some infmrtion.

Test with debug=2,debugsql=1 : yii::log is here.

BUT : you produce admin CSS with script, and i don't have this script

LouisGac

LouisGac

2016-06-20 13:41

developer   ~39708

only for color. lime-admin-common.css can be hand edited

LouisGac

LouisGac

2016-06-20 14:54

developer   ~39719

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

c_schmitz

c_schmitz

2016-06-20 15:31

administrator   ~39725

Version 2.50 Build 160620 released

Related Changesets

LimeSurvey: master 40d7e850

2016-06-20 14:54

LouisGac


Details Diff
Fixed issue 11380: Yii::log table is hidden Affected Issues
11380
mod - styles/Apple_Blossom/css/lime-admin-common.css Diff File
mod - styles/Bay_of_Many/css/lime-admin-common.css Diff File
mod - styles/Black_Pearl/css/lime-admin-common.css Diff File
mod - styles/Dark_Sky/css/lime-admin-common.css Diff File
mod - styles/Free_Magenta/css/lime-admin-common.css Diff File
mod - styles/Noto_All_Languages/css/lime-admin-common.css Diff File
mod - styles/Purple_Tentacle/css/lime-admin-common.css Diff File
mod - styles/Sea_Green/css/lime-admin-common.css Diff File
mod - styles/Sunset_Orange/css/lime-admin-common.css Diff File

Issue History

Date Modified Username Field Change
2016-06-15 09:47 DenisChenu New Issue
2016-06-15 09:47 DenisChenu File Added: traceVarTest.php
2016-06-15 09:48 DenisChenu File Added: Capture du 2016-06-15 09-47-56.png
2016-06-17 23:15 DenisChenu Note Added: 39691
2016-06-20 12:24 LouisGac Note Added: 39699
2016-06-20 12:24 LouisGac Status new => resolved
2016-06-20 12:24 LouisGac Resolution open => fixed
2016-06-20 12:24 LouisGac Assigned To => LouisGac
2016-06-20 12:45 DenisChenu Note Added: 39705
2016-06-20 12:45 DenisChenu Status resolved => confirmed
2016-06-20 13:41 LouisGac Note Added: 39708
2016-06-20 14:54 LouisGac Changeset attached => LimeSurvey master 40d7e850
2016-06-20 14:54 LouisGac Note Added: 39719
2016-06-20 14:54 LouisGac Status confirmed => resolved
2016-06-20 15:31 c_schmitz Note Added: 39725
2016-06-20 15:31 c_schmitz Status resolved => closed