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

The function sync_metacourse doesn't sync the hidden field

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.6
    • 1.9.8
    • Roles / Access
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

    Description

      Let's say we have three courses: A, B and C. Also, course A is a metacourse aggregating B and C.
      Then, i go to course B and enroll a user with any role, marking it as a hidden assign. If i go to course A, the assign o that user will not be hidden.

      I have tracked it down to the sync_metacourse() function, when this function gets the assignments of users in child courses, it doesn't get the hidden field from role_assignments and so, it is not passed as parameter to role_assign() afterwards.

      So, unless this should not be done for some reason, i am willing to do the patch to correct this.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              danielneis Daniel Neis Araujo
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Mar/10