View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20467Bug reportsConditionspublic2026-03-19 16:39
Reportertwilllig Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.16.x 
Summary20467: Condition designer: "Copy conditions" crashes when no target is selected
Description

If you have created a condition on a question via "Condition designer", and you try to copy this while not selecting a target question from the list,
the application breaks when clicking "Copy conditions".

Steps To Reproduce

Steps to reproduce

Assuming you have a survey with at least 2 questions

  1. Click on question item in structure menu
  2. Open "Condition designer" for this question (via "Tools | ..." dropdown button)
  3. Add a condition
  4. Click "Copy conditions" in topbar
  5. Without choosing target question in "Copy the selected conditions to:" click "Copy conditions"-button at bottom of page

Expected result

Either greyed out/disabled "Copy conditions"-button
or
Error message, that copying is not possible after clicking that button

Actual result

Error page with text
"500: Internal Server Error - LimeSurvey\Models\Services\SurveyCondition::copyConditions(): Argument #2 ($copyconditionsto) must be of type array, null given, called in application/controllers/admin/ConditionsAction.php on line 511"

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.16.13
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.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-03-19 16:29 twilllig New Issue
2026-03-19 16:39 twilllig Steps to Reproduce Updated