Skip to content

[C2] Improvements to Question Media entries #6653

@ywarnier

Description

@ywarnier

There are several (minor?) issues with these changes. Not all might be from this change, actually, but let's use this opportunity to fix them

  • When configuring one question per page and 10 random questions from 20 in the bank, the question number on each page appears as "1. " followed by the {title}.
  • When at the end of the same test (configured as exam), the question media appears on the results page, but none of the questions appear. The question media should not appear if the test is configured as exam.
Image Image
  • When I have 20 questions + one question media and I configure the test to pick 10 questions at random, the system says it will pick 10 questions for a max score of 9, suggesting the question media counts as a question. It should not be counted as a question. The test is OK, it selects 10 questions + the medium, but the text shown is incorrect:
Only 10 questions will be picked randomly following the quiz configuration.
Only 10 questions will be selected based on the test configuration, for a total score of 9.
Only 10 questions will be picked randomly following the quiz configuration.
Only 10 questions will be selected based on the test configuration, for a total score of 9.```

- [ ] When the test is configured as "auto-evaluation" to show the results, and even though the media question appeared as the first question of my test, it is shown with number "4.". It is also shown (with number 4) at the bottom of the results, so we have 1, 2, 3, 5, 6, 7, 8, 9, 10 and then 4... !?

<img width="377" height="842" alt="Image" src="https://github.com/user-attachments/assets/4b597335-77fe-4dea-a8bc-fcd339643425" />

Those are issues that can be solved post-beta, though. 

 _Originally posted by @ywarnier in [#2676](https://github.com/chamilo/chamilo-lms/issues/2676#issuecomment-3239204659)_

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions