View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18191 | Bug reports | Expression Manager | public | 2022-06-14 17:10 | 2022-06-17 11:52 |
Reporter | tammo | Assigned To | tammo | ||
Priority | none | Severity | partial_block | ||
Status | feedback | Resolution | open | ||
Product Version | 5.3.x | ||||
Summary | 18191: Cannot use statCount in group condition | ||||
Description | Using core plugin: statFunctions While you can use statCount("id") > 6 as question condition, you cannot use this as the condition for a group. This results (when trying to save the just edited group) to an error 500: Call to a member function getIsActive() on null This | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 5.3.19 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL | ||||
Server OS (if known) | Centos | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.4 | ||||
An lss please ? |
|
I cannot demonstrate adding statCount>6 to the group condition, since this ends in an error 500. |
|
Yes, but have a lss : less work for me ;) |
|
Can not reproduce …
Can you activate debug mode ? I can create a fix here : https://github.com/LimeSurvey/LimeSurvey/blob/420083bf67ffae54b80505896962baa1751bf851/application/core/plugins/statFunctions/countFunctions.php#L29 |
|
PS : and check if validate survey logic file fix the issue ( set the sid in LimeExpressionManager) |
|
@tammo : Can not reproduce …
Can you activate debug mode ? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-14 17:10 | tammo | New Issue | |
2022-06-14 17:10 | tammo | Assigned To | => DenisChenu |
2022-06-14 17:10 | tammo | Status | new => assigned |
2022-06-14 17:38 | DenisChenu | Note Added: 70351 | |
2022-06-14 17:38 | DenisChenu | Bug heat | 0 => 2 |
2022-06-14 17:46 | tammo | Note Added: 70352 | |
2022-06-14 17:46 | tammo | File Added: survey_archive_statCountFunctionsTest.lsa | |
2022-06-14 17:46 | tammo | Bug heat | 2 => 4 |
2022-06-14 17:47 | tammo | Note Added: 70353 | |
2022-06-14 17:51 | DenisChenu | Note Added: 70354 | |
2022-06-14 17:55 | DenisChenu | Note Added: 70355 | |
2022-06-14 17:55 | DenisChenu | File Added: Capture d’écran du 2022-06-14 17-53-08.png | |
2022-06-14 18:01 | DenisChenu | Note Added: 70356 | |
2022-06-14 18:01 | DenisChenu | Status | assigned => feedback |
2022-06-14 18:57 | DenisChenu | Note Added: 70360 | |
2022-06-17 11:51 | DenisChenu | Note Added: 70402 | |
2022-06-17 11:52 | DenisChenu | Assigned To | DenisChenu => tammo |