View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19963Bug reportsPluginspublic2025-02-17 08:35
Reportergabrieljenik Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Summary19963: Can´t output content using NewDirectRequest event
Description

When trying to use plugins that do oEvent->SetContent a dump is generated:
aData property is not defined on the PluginController

Usually controllers that use the main layout (default one?) extend LsBaseController which defines aData.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)6.x
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Version7

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-02-17 08:35

developer   ~82036

I never use oEvent->SetContent in direct request : it's part of the plugin event. But unsure it working.

If added must add it with care : else can broke a lot of plugin (https://gitlab.com/SondagesPro/RemoteControl/extendRemoteControl for example)

Issue History

Date Modified Username Field Change
2025-02-14 19:21 gabrieljenik New Issue
2025-02-17 08:35 DenisChenu Note Added: 82036
2025-02-17 08:35 DenisChenu Bug heat 0 => 2