Drag and Drop - Scoring issue with multiple correct solutions and static texts

Description

Acceptance Criteria

  1. Static texts should not affect the total score of the task (even if they might have been not static before).

Background

Text objects without an assigned drops zones adds to the total points.

Issue is reported here: https://h5p.org/node/223805 - In these report there are 11 drop zones and 11 text draggables but the total points is showing 14. There are also 4 text without an assigned drop zones. It should also be noted that all drop zones have multiple possible answers since the draggables are interchangeable within this activity.

Test Contents:
Original content: https://h5p.org/node/223946 (Removed other activities and left the DnD with the issue.
Multiple possible answers removed: https://h5p.org/node/223900 (I edited the content thinking that the multiple answers in the dropzones is the cause of the issue)
Removed all texts without dropzones: https://h5p.org/node/225216

Note: I am unable to reproduce the issue with a fresh content.

Environment

Content is created in Moodle 3.1

Acceptance Criteria

Please check

Assignee

Unassigned

Reporter

Bienvenido Villadelrey

Labels

None

Funding

None

Code reviewer

None

Released

None

Time tracking

0m

Fix versions

None

Sprint

None

Priority

High
Configure