View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18255Bug reportsCentral participant databasepublic2023-07-07 19:57
Reporterbismark Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.3.x 
Summary18255: ParticipantBlacklistHandler usetokens
Description

application/models/services/ParticipantBlacklistHandler.php optoutParticipantFromAllSurveys()

$surveys = \Survey::model()->findAllByAttributes(['usetokens' => 'Y']);

$surveys is always empty

use $surveys = \Survey::model()->findAll(); instead

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)3.28.*
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

bismark

bismark

2022-07-14 19:03

reporter   ~70948

removeParticipantFromAllSurveys() same problem

bismark

bismark

2022-07-18 09:58

reporter   ~70982

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

guest

guest

2022-07-18 11:02

viewer   ~70989

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

gabrieljenik

gabrieljenik

2023-07-07 19:57

manager   ~75975

Merged already

Related Changesets

LimeSurvey: master d316e1bc

2022-07-18 10:50:35

bismark


Committer: GitHub Details Diff
Fixed issue 18255: use findAll() instead of findAllByAttributes() (#2517) Affected Issues
18255
mod - application/models/services/ParticipantBlacklistHandler.php Diff File

Issue History

Date Modified Username Field Change
2022-07-14 13:48 bismark New Issue
2022-07-14 16:48 gabrieljenik Assigned To => gabrieljenik
2022-07-14 16:48 gabrieljenik Status new => acknowledged
2022-07-14 19:03 bismark Note Added: 70948
2022-07-14 19:03 bismark Bug heat 0 => 2
2022-07-18 09:58 bismark Note Added: 70982
2022-07-18 11:02 bismark Changeset attached => LimeSurvey master d316e1bc
2022-07-18 11:02 guest Note Added: 70989
2022-07-18 11:02 guest Bug heat 2 => 4
2023-07-07 19:57 gabrieljenik Status acknowledged => closed
2023-07-07 19:57 gabrieljenik Resolution open => fixed
2023-07-07 19:57 gabrieljenik Note Added: 75975
2023-07-07 19:57 gabrieljenik Bug heat 4 => 6