← Back to team overview

mahara-contributors team mailing list archive

[Bug 1457867] A patch has been submitted for review

 

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/4792

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1457867

Title:
  Full-portfolio export doesn't include all artefacts

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  Mahara Ver. 15.04

  line 243 ~ 256 of  /htdocs/export/lib.php

  -------------------------------------------------------------------------------------
          // Get the list of artefacts to export
          if ($artefacts == self::EXPORT_ALL_ARTEFACTS) {
              $query = 'SELECT id FROM {artefact} WHERE "owner" = ?';
              $args = array($userid);
              if (sizeof($tmpviews)) {
                  $query .= 'UNION
                      SELECT artefact
                      FROM {view_artefact}
                  WHERE "view" IN (SELECT id FROM {view} WHERE "owner" = ?)
                      ORDER BY id';
                  $args[] = $userid;
                  $this->artefactexportmode = $tempartefacts = get_column_sql($query, $args);
              }
          }
  -------------------------------------------------------------------------------------

         $tempartefacts is a  is misspelled variable.

  Correct variable name is  $tmpartefacts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1457867/+subscriptions


References