Add-ons
  1. Add-ons
  2. CONTRIB-3629

Wrong name appearing when user accesses certificate module

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: Module: Certificate
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE
    • Rank:
      39650

      Description

      When two concurrent users access the certificate module simultaneously, the name that appears on the certificate seems to be affected by this "cross talk" and displays the others name.

        Activity

        Hide
        Michael de Raadt added a comment -

        I've shifted this to the Tracker component for the Certificate module.

        Show
        Michael de Raadt added a comment - I've shifted this to the Tracker component for the Certificate module.
        Hide
        Mark Nelson added a comment -

        The student's name is stored in the certificate_issues table and is retrieved when displaying the certificate. This value is regenerated each time the certificate is accessed if the reissue certificate setting is turned on, otherwise it is not. It could be possible that writing to the database at the same time caused this issue. Do you have access to the database? If so, can you view the certificate_issues table for those two students (just search by userid, to find the id simply visit the students profile page and you will see the id in the URL, eg. user/profile.php?id=103, in this example it is 103) and see if the wrong name is inserted?

        Show
        Mark Nelson added a comment - The student's name is stored in the certificate_issues table and is retrieved when displaying the certificate. This value is regenerated each time the certificate is accessed if the reissue certificate setting is turned on, otherwise it is not. It could be possible that writing to the database at the same time caused this issue. Do you have access to the database? If so, can you view the certificate_issues table for those two students (just search by userid, to find the id simply visit the students profile page and you will see the id in the URL, eg. user/profile.php?id=103, in this example it is 103) and see if the wrong name is inserted?
        Hide
        Helen Foster added a comment -

        Closing this resolved issue, as requested by issue assignee Mark.

        Show
        Helen Foster added a comment - Closing this resolved issue, as requested by issue assignee Mark.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development