Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1466

cron method does not add new grouping members to existing dialogues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.4
    • Component/s: Module: Dialogue
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      The cron method was failing when calling get_record to retrieve details for a conversation record when there was more than one as get_record only expects to return a single record. This meant that any students were not added to existing conversations in a dialogue instance. Modified the method to use get_records instead and pop the first returned record. It only requires one (of a possible many) record to get the conversation fields which are common to all entries to be able to create a new entry for the additional student.

        Attachments

          Activity

            People

            Assignee:
            deeknow Dean Stringer
            Reporter:
            deeknow Dean Stringer
            Participants:
            Component watchers:
            Troy Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09