• Resolved lukebme

    (@lukebme)


    Hi,

    I’m having a few issues with the View Certificate button not working or throwing errors.

    On the Visit Results page (from My Courses) the View Certificate button just isn’t interactable.

    I’m wondering if this is because clicking the View Results button from the My Courses page directs to an incomplete url ending in /course-completed/? and also doesn’t show any of the course results.

    If I click View Results from the /learner/learnername page it will generate the correct results page with a complete url (i.e. course-completed/?course_id=109). However, when I click the View Certificate button from this page I receive the error ‘You are not allowed to view this certificate’- even if I am logged in as that user.

    Only Admin accounts seem to be able to view certificates from the front end.

    This issue doesn’t occur if you click View Certificate from the Course Completion page after you have completed a coure.

    • This topic was modified 3 years ago by lukebme.
    • This topic was modified 3 years ago by lukebme.
    • This topic was modified 3 years ago by lukebme.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lukebme

    (@lukebme)

    Update: the issue seems to be related to if the user has completed the course before and has multiple certificates. If I delete all certificates and teh course is completed again, the issues is resolved.

    Daniel

    (@ihenetudan)

    Hi @lukebme,

    Thanks for the report and follow-up.

    I’m wondering if this is because clicking the View Results button from the My Courses page directs to an incomplete url ending in /course-completed/? and also doesn’t show any of the course results.

    I was able to reproduce this issue in a case where the URL is incomplete, which is related to this your other report.

    Update: the issue seems to be related to if the user has completed the course before and has multiple certificates. If I delete all certificates and teh course is completed again, the issues is resolved.

    I was initially unable to reproduce the issue in cases when the course-completed URL has the course_ID param provided. So, I’m glad you were able to figure it out.

    If you want to suggest an improvement to the behavior there, please consider opening a report here:

    https://github.com/Automattic/sensei/issues

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘View certificate button issues’ is closed to new replies.