Project

General

Profile

Bug #3314

Gradebook date and code fields not filled

Added by Yannick Warnier about 8 years ago. Updated about 8 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
26/04/2011
Due date:
26/04/2011
% Done:

100%

Estimated time:
0.80 h
Complexity:
Normal
SCRUM pts - complexity:
3

Description

In the gradebook, the ((official_code)) and ((date_certificate)) are not filled.
Also, the results obtained are not available as a tag.

This is a tiny element missing but without that the gradebook would not really be complete...

See chamilodev.beeznest.com as admin/admin and mhalles/mhalles.

Associated revisions

Revision 4b20db25 (diff)
Added by Julio Montoya about 8 years ago

Fixing bug when showing a certificate see #3314

Revision 5fd3dcde (diff)
Added by Julio Montoya about 8 years ago

Fixing bug when showing a certificate see #3314 (bis)

History

#1

Updated by Yannick Warnier about 8 years ago

Apparently most of that code can be found in document.lib.php and usermanager.lib.php ("*_certificate_*" methods)

#2

Updated by Julio Montoya about 8 years ago

  • % Done changed from 0 to 20

Well you found a nice bug here.
1. the official code is not showed because the user doesn't have an official code
2. the date doesn't appears because you just found a bug when using an exercise with time limits and a certificates, I'm currently debugging how to reproduce it.

In fact the register_user_info_about_certificate() fails for some reason when finishing the exercise using time limits

#3

Updated by Julio Montoya about 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee deleted (Julio Montoya)
  • % Done changed from 20 to 50
#4

Updated by Yannick Warnier about 8 years ago

  • Status changed from Needs more info to Assigned
  • Assignee set to Julio Montoya

Still missing the certificate code apparently (see http://chamilodev.beeznest.com/main/gradebook/index.php?cidReq=HOWTOUSECHAMILO as mhalles/mhalles and click the certificate icon).

#5

Updated by Julio Montoya about 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Julio Montoya to Yannick Warnier

As I said before, the code you see there is the user official code (user.official_code in the DB) and not the certification code, to fix that just add an official code to the user mhalles

#6

Updated by Yannick Warnier about 8 years ago

  • Status changed from Needs more info to Bug resolved
  • Assignee changed from Yannick Warnier to Julio Montoya
  • % Done changed from 50 to 100

Julio Montoya wrote:

As I said before, the code you see there is the user official code (user.official_code in the DB) and not the certification code, to fix that just add an official code to the user mhalles

Sorry about that. Then we're done here.

Also available in: Atom PDF