Question about statistics

halka
Forums
In the /statistics/training/* section, students ' results are displayed one step less. For example, 3 training modules were made, and the result is displayed for 2. the Data can be updated if you ask students to go to the detail /module/* / result of all training modules list of this training, then the statistics starts showing the full result. But students forget to do this, and teachers give intermediate grades based on incorrect data. Please tell me how to solve this issue?
admin

Hi halka, I cannot…

Hi halka,

I cannot reproduce the issue that you describe.

Are you using the latest version of Opigno ?

I understand from your message that your module contains one (or several) activity requiring a manual scoring. In this case the module status will remain as "pending" until this activity has been scored. But the module appears in the training statistics (/statistics/training/* as soon as the user finished it).

Can you please let us know the version you are using, and if it's the latest version, more details to reproduce ? 

halka

Good day, version-Opigno 8. x-2.16

Good day, version-Opigno 8. x-2.16.
I Have several modules in the training, each module really contains one exercise that requires manual evaluation. After evaluating these exercises, the total score is displayed in the statistics opposite the training student, but the result is one module less. And within the training, the results for the modules included in the training are not displayed.

I solve this problem with the described action: I ask students to simply log in to the user profile in the detail /module/* / result of each module of this training, after which the statistics begin to show the full result and the results of the modules included in the training begin to be displayed. But in the end, if the student did not do this, the teacher does not see the result of the modules included in the training and the total score is less than the score for the last module.

In /admin/reports / messages of this plan for each student:

php 10/28/2020 - 09:56 Notice: Undefined index: #derivative_plugin_id in… Kosolapov Ale…
php 10/28/2020 - 09:56 Notice: Undefined index: #base_plugin_id in… Kosolapov Ale…
php 10/28/2020 - 09:56 Notice: Undefined index: #plugin_id in… Kosolapov Ale…
php 10/28/2020 - 09:56 Notice: Undefined index: #configuration in… Kosolapov Ale…
php 10/28/2020 - 09:56 Notice: Undefined index: #plugin_id in… Kosolapov Ale…
php 10/28/2020 - 09:56 Notice: Undefined index: #configuration in… Kosolapov Ale…

Php TYPE
DATE Wednesday, October 28, 2020 - 09:56
The USER Kosolapov Ale…
LOCATION */ajax/progress/build/116/77/0/module-page?_wrapper_format=drupal_ajax
Reference SOURCE */group/116/module/1675/answer/1963
MESSAGE Notice: Undefined index: #derivative_plugin_id in template_preprocess_block() (line 219 of /var/www/vhosts/*/distance/core/modules/block/block.module)
#0 /var/www/vhosts/*/distance/core/includes/bootstrap.inc(600): _drupal_error_handler_real(8, 'Undefined index...', '/var/www/vhosts...', 219, Array)
#1 /var/www/vhosts/*/distance/core/modules/block/block. module(219): _drupal_error_handler(8, 'Undefined index...', '/var/www/vhosts...', 219, Array) ...

Notice: Undefined index: #base_plugin_id в template_preprocess_block() (строка 218 из /var/www/vhosts/*/distance/core/modules/block/block.module)
Notice: Undefined index: #plugin_id в template_preprocess_block() (строка 217 из /var/www/vhosts/*/distance/core/modules/block/block.module)