View Issue Details

IDProjectCategoryView StatusLast Update
14786Bug reportsOtherpublic2021-05-17 13:24
ReporterDenisChenu Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version3.17.x 
Summary14786: application warning : Failed to set unsafe attribute "settings" of "Tutorial".
DescriptionWhen activate logging for warning and error always have «Failed to set unsafe attribute "settings" of "Tutorial".»
Steps To ReproduceAdd this
````
        'log' => array(
            'routes' => array(
                'webError' => array(
                    'class' => 'CWebLogRoute',
                    'levels' => 'warning, error',
                ),
                'plugins' => array(
                    'class' => 'CWebLogRoute',
                    'levels' => 'trace, info, warning, error',
                    'categories'=>'application.plugins.*',
                ),
                'vardump' => array(
                    'class' => 'CWebLogRoute',
                    'categories' => 'vardump', // tracevar function
                ),
            )
        ),
````
in config (for example)

Look at bottom of page
Additional InformationTrack warnings in log is always a good idea
TagsNo tags attached.
Complete LimeSurvey version number (& build)3.25.19
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

alorenc

alorenc

2021-04-26 11:51

reporter   ~64153

I have the same warning
Limesurve: v3.25.19

config:
````
routes' => [
   'fileError' => [
      'class' => 'CFileLogRoute',
      'levels' => 'warning, error',
   ],
],
````

Please assign the task to someone else (currently working).
DenisChenu

DenisChenu

2021-04-26 12:14

developer   ~64154

Thank you for reminder !

What fo severity for you ? partial_block ?
alorenc

alorenc

2021-04-26 12:49

reporter   ~64156

Yes, you can call it a partial block as the warning is logged every time the page is refreshed. And unfortunately it generates large files as a result.

I have files set to "Errors_YYYY-MM-DD.log;" so limiting the size and number of files is not a solution for me.
DenisChenu

DenisChenu

2021-04-26 13:07

developer   ~64157

You surely can have an except value to disable this error :)


Maybe 'except'=>'system.db.ar.*', ?
(but disable log on activerecord … it's really NOT a solution)
alorenc

alorenc

2021-05-17 13:24

reporter   ~64426

Adding 'system.db.ar.*' to exclusions does not work. I still have this message in my logs.

Issue History

Date Modified Username Field Change
2019-04-17 17:15 DenisChenu New Issue
2019-04-18 13:39 c_schmitz Assigned To => markusfluer
2019-04-18 13:39 c_schmitz Status new => assigned
2021-04-26 11:51 alorenc Note Added: 64153
2021-04-26 12:14 DenisChenu Assigned To markusfluer =>
2021-04-26 12:14 DenisChenu Status assigned => new
2021-04-26 12:14 DenisChenu Complete LimeSurvey version number (& build) 3.17.2 github => 3.25.19
2021-04-26 12:14 DenisChenu Note Added: 64154
2021-04-26 12:49 alorenc Note Added: 64156
2021-04-26 13:07 DenisChenu Note Added: 64157
2021-04-26 13:07 DenisChenu Severity minor => partial_block
2021-05-17 13:24 alorenc Note Added: 64426