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

Dialogue entries not backed up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.4.3
    • Module: Dialogue
    • None
    • All
    • MOODLE_14_STABLE

      During the backup only one - last - dialogue entry is backed up.

      Proposed (and tested) solution - in the mod/dialogue/backuplib.php change the lines as follows:

      #95

      now: $status = backup_dialogue_entries($bf,$preferences,$conversation->id);

      proposed: $status = backup_dialogue_entries($bf,$preferences,$dialogue);

      We need to back up entries for the whole dialogue, not only for the last processed conversation, so consequently:

      #105

      now: function backup_dialogue_entries ($bf,$preferences,$conversationid) {

      proposed: function backup_dialogue_entries ($bf,$preferences,$dialogue) {

      #111

      now: $dialogue_entries = get_records(dialogue_entries,conversationid,$conversationid,id);

      proposed: $dialogue_entries = get_records(dialogue_entries,dialogueid,$dialogue,id);

      Dan

            dougiamas Martin Dougiamas
            mixik Daniel Miksik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.