mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #26984
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
Thanks for the bug report! I'll upload your suggested fix into our code
review system.
Cheers,
Aaron
** Summary changed:
- Bug of export all artefacts
+ Full-portfolio export doesn't include all artefacts
** Also affects: mahara/15.04
Importance: Undecided
Status: New
** Also affects: mahara/15.10
Importance: Undecided
Status: New
** Changed in: mahara/15.04
Status: New => In Progress
** Changed in: mahara/15.10
Status: New => In Progress
** Changed in: mahara/15.04
Importance: Undecided => High
** Changed in: mahara/15.10
Importance: Undecided => High
** Changed in: mahara/15.04
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara/15.10
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara/15.04
Milestone: None => 15.04.1
** Changed in: mahara/15.10
Milestone: None => 15.10.0
** Tags added: leap2a
** Tags added: no-behat-needed
--
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:
In Progress
Status in Mahara 15.04 series:
In Progress
Status in Mahara 15.10 series:
In Progress
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