View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16644Bug reportsPluginspublic2020-10-14 12:52
Reporterpremitek1 Assigned Togabrieljenik  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Product Version4.3.15 
Summary16644: Audit log not save all actions
Description

Audit log not save all actions , It just save 2 actions only login and logout but other actions not saved although I checked all actions

And when I check table prefix_auditlog_log in DB I found the only saved actions login and logout actions
although i added new participants ,remove participants and add questions and groups

Steps To Reproduce

1) Install plugin audit log
2) and checked all features supported by these plugin
3) start to update in survey by adding participants and make login , logout ,update in survey settings and found nothing saved except login and logout only

TagsPHP 7.1, plugin
Bug heat6
Complete LimeSurvey version number (& build)Latest Release 4.3.15
I will donate to the project if issue is resolvedNo
Browsergoogle chrome
Database type & versionsql server 2014 version 12.0.2000
Server OS (if known)widows 7
Webserver software & version (if known)
PHP Versionv 7.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

premitek1

premitek1

2020-09-10 11:00

reporter   ~59764

i didn't get solution until now

gabrieljenik

gabrieljenik

2020-10-01 14:37

manager   ~60019

There was a mismatch between the default values for "Audit log for this survey" setting. The default value shown on screen was Yes (true), and for most events it was indeed treated as 'true' by default when logging actions. But for tokens and survey settings, it defaulted to 'false' when logging actions.

It was fixed by defaulting to 'true' in all cases, as shown in the screen and expected by the user.

https://github.com/LimeSurvey/LimeSurvey/pull/1609

gabrieljenik

gabrieljenik

2020-10-01 14:38

manager   ~60021

This could happen on LSv3 as well

gabrieljenik

gabrieljenik

2020-10-12 20:37

manager   ~60161

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

lime_release_bot

lime_release_bot

2020-10-14 12:52

administrator   ~60204

Fixed in Release 4.3.21+201015

Related Changesets

LimeSurvey: master f4399544

2020-10-01 14:36:04

gabrieljenik


Committer: user234287 Details Diff
Fixed issue 16644: Audit log not save all actions

There was a mismatch between the default values for "Audit log for this survey" setting. The default value shown on screen was Yes (true), and for most events it was indeed treated as 'true' by default when logging actions. But for tokens and survey settings, it defaulted to 'false' when logging actions.

It was fixed by defaulting to 'true' in all cases, as shown in the screen but expected by the user.
Affected Issues
16644
mod - application/core/plugins/AuditLog/AuditLog.php Diff File

Issue History

Date Modified Username Field Change
2020-09-08 10:06 premitek1 New Issue
2020-09-08 15:34 ollehar Product Version => 4.3.15
2020-09-10 11:00 premitek1 Note Added: 59764
2020-09-10 11:01 premitek1 Tag Attached: plugin
2020-09-10 11:01 premitek1 Tag Attached: PHP 7.1
2020-09-10 11:01 premitek1 Tag Detached: PHP 7.1
2020-09-10 11:01 premitek1 Tag Attached: PHP 7.1
2020-09-23 15:42 cdorin Assigned To => gabrieljenik
2020-09-23 15:42 cdorin Priority none => normal
2020-09-23 15:42 cdorin Status new => assigned
2020-09-23 15:42 cdorin Zoho Sprints => |Yes|
2020-10-01 14:37 gabrieljenik Note Added: 60019
2020-10-01 14:38 gabrieljenik Note Added: 60021
2020-10-12 20:37 user234287 Changeset attached => LimeSurvey master f4399544
2020-10-12 20:37 gabrieljenik Note Added: 60161
2020-10-12 20:37 gabrieljenik Resolution open => fixed
2020-10-14 12:52 lime_release_bot Zoho Sprints Yes => |Yes|
2020-10-14 12:52 lime_release_bot Note Added: 60204
2020-10-14 12:52 lime_release_bot Status assigned => closed