After completing module, Result page showing irrelevant questions and answers along with mapped h5p acitivites

Created on 9 July 2025, about 2 months ago

Problem/Motivation

On the result page (e.g., /module/[mid]/result/[result_id]), I'm expecting to see only the answers from the current activity (e.g., activity ID 3728), but instead I’m getting answers from other H5P activities as well (e.g., 3721, 3723, etc.).

Steps to reproduce

I'm using Drupal 8.9.20 with Opigno 2.29 and the H5P integration module (opigno_h5p).

While attempting and completing H5P questions within a module, everything works fine during the attempt. However, on the result page, I'm seeing irrelevant questions and answers — content that belongs to other H5P activities or modules.

What I've already checked:

Verified the opigno_answer and field_xapidata tables in the database — the data stored there is correct and matches the H5P content ID (h5p-local-content-id).

Each H5P activity is correctly linked to the expected module (opigno_module_relationship).

The xAPI data stored in field_xapidata is clean and has the expected content ID and structure.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

šŸ› Bug report
Status

Active

Version

1.11

Component

User interface

Created by

šŸ‡®šŸ‡³India asif-mulla

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024