Skip to content

ILIAS 9.17 / PHP 8.2: Questions reopen indefinitely after answering, possibly related to comment ID / compulsory question handling #86

@iFadi

Description

@iFadi

Environment

  • ILIAS version: 9.17
  • InteractiveVideo branch: r9
  • Plugin: InteractiveVideo
  • PHP version: 8.2

Description

We received a user report about an issue in an Interactive Video where questions are shown repeatedly in an endless loop. We have not been able to reproduce the issue ourselves so far.

According to the user report, two questions were added to the video. After answering the questions during playback, the questions are opened again indefinitely.

The user also mentioned that an error related to the "comment ID" occurred.

Original user report, translated/summarized:

Two questions were added to the video. An error occurred in the comment ID, so the questions are displayed repeatedly during playback as soon as they have been answered. Could this be caused by the titles or contents of the questions?

When editing the affected question, ILIAS showed the following error code:

ILIAS\HTTP\Response\Sender\ResponseSendingException thrown with message "Response was already sent."

Stacktrace:
#8 ILIAS\HTTP\Response\Sender\ResponseSendingException in /srv/ilias-luh/ILIAS/src/HTTP/Response/Sender/DefaultResponseSenderStrategy.php:82
#7 ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy:sendResponse in /srv/ilias-luh/ILIAS/src/HTTP/RawHTTPServices.php:140
#6 ILIAS\HTTP\RawHTTPServices:sendResponse in /srv/ilias-luh/ILIAS/src/HTTP/Services.php:130
#5 ILIAS\HTTP\Services:sendResponse in /srv/ilias-luh/ILIAS/Services/UICore/classes/class.ilGlobalPageTemplate.php:133
#4 ilGlobalPageTemplate:printToStdout in /srv/ilias-luh/ILIAS/Services/Repository/classes/class.ilRepositoryGUI.php:246
#3 ilRepositoryGUI:show in /srv/ilias-luh/ILIAS/Services/Repository/classes/class.ilRepositoryGUI.php:224
#2 ilRepositoryGUI:executeCommand in /srv/ilias-luh/ILIAS/Services/UICore/classes/class.ilCtrl.php:119
#1 ilCtrl:forwardCommand in /srv/ilias-luh/ILIAS/Services/UICore/classes/class.ilCtrl.php:92
#0 ilCtrl:callBaseClass in /srv/ilias-luh/ILIAS/ilias.php:29

-- GET Data --

ILIAS\Refinery\KeyValueAccessraw_values: Array
(
    [baseClass] => ilrepositorygui
    [cmdNode] => yz:op
    [cmdClass] => ilObjInteractiveVideoGUI
    [cmd] => postComment
    [ref_id] => 237450
    [cmdMode] => asynch
    [limit] => 9999
)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions