Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39397

Need to handle course badges when course is deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      1. Create a course badge and issue it to a user.
      2. Delete a course.
      3. Check that there is no fatal error on 'My badges' page (under User profile settings), and badge image is still properly displayed.

      Also, fixed some deprecated methods warnings.

      Show
      1. Create a course badge and issue it to a user. 2. Delete a course. 3. Check that there is no fatal error on 'My badges' page (under User profile settings), and badge image is still properly displayed. Also, fixed some deprecated methods warnings.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-39397_master

      Description

      I think the best solution here is to make sure that badge images get transferred to system context and badges are archived.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ybozhko Yuliya Bozhko
              Reporter:
              ybozhko Yuliya Bozhko
              Peer reviewer:
              Dan Poltawski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13