mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #26981
[Bug 1457867] [NEW] Bug of export all artefacts
Public bug reported:
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.
** Affects: mahara
Importance: Undecided
Status: New
** Tags: export fuction
--
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:
Bug of export all artefacts
Status in Mahara ePortfolio:
New
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
Follow ups
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Robert Lyon, 2016-11-06
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Aaron Wells, 2015-10-23
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Robert Lyon, 2015-05-29
-
[Bug 1457867] A change has been merged
From: Mahara Bot, 2015-05-25
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Aaron Wells, 2015-05-25
-
[Bug 1457867] A patch has been submitted for review
From: Mahara Bot, 2015-05-25
-
[Bug 1457867] A change has been merged
From: Mahara Bot, 2015-05-25
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Aaron Wells, 2015-05-25
-
[Bug 1457867] A patch has been submitted for review
From: Mahara Bot, 2015-05-24
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Aaron Wells, 2015-05-24
-
[Bug 1457867] Re: Full-portfolio export doesn't include all artefacts
From: Aaron Wells, 2015-05-24
-
[Bug 1457867] Re: Bug of export all artefacts
From: Aaron Wells, 2015-05-24
-
[Bug 1457867] [NEW] Bug of export all artefacts
From: Wen-Chang Chien, 2015-05-22
References