chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Wrong result function is_certificate_available()

Open rafatga opened this issue 9 years ago • 2 comments

Current behavior / Resultado actual / Résultat actuel

When you complete the learning path of a session course the function still returns false meaning that the certificate is not available. screen shot 2017-05-11 at 9 40 15 am screen shot 2017-05-11 at 9 42 51 am screen shot 2017-05-11 at 8 58 58 am screen shot 2017-05-11 at 8 58 00 am

Expected behavior / Resultado esperado / Résultat attendu

When you complete the learning path of session course the function should returns true meaning that the certificate is available.

Steps to reproduce / Pasos para reproducir / Étapes pour reproduire

  1. Create a course with a scorm
  2. Create a session with the previous course created and import it with the gradebook
  3. Admin user - View page (Corporate report)
  4. Student user - View page (My courses)

Chamilo Version / Versión de Chamilo / Version de Chamilo

1.11.x

rafatga avatar May 11 '17 07:05 rafatga

I have tested many cases and this issue only occurs with session courses which only has a scorm. I know where the issue is but I wanted to share it anyway before I do any pull request. screen shot 2017-05-11 at 8 59 24 am screen shot 2017-05-11 at 8 59 15 am

rafatga avatar May 11 '17 07:05 rafatga

Commit added. Closing.

ywarnier avatar May 15 '17 04:05 ywarnier