mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #61285
We have received your support ticket '[Bug 1905702] Re: Missing all PDF files in "Export your portfolio"' and will get back to you shortly
Dear Lisa Seeto,
Thank you for submitting a support ticket to us, we will get back to your shortly
Our support staff would like to work with as much information on the issue as possible. For this, we require at least the following information:
A detailed description of the issue;
The URL of the page(s) where the issue occurs;
Additionally, we welcome the following information:
A clear description of the steps leading up to the issue;
One or more screen captures of the page(s) where the issue occurs;
The browser used when the issue occurred.
If you wish to complete your issue report with additional information, please reply to this email.
This way we will be able to quickly resolve your issue report.
*View Ticket Online:* here [1]
*Ticket Number:* 8289
*Ticket Category:*
Technical Support
*SLA:*
False
*Ticket Description:*
Hi all,
This sounds like an issue we have come across previously (see 1900786). There is a patch that has been created to address this issue here https://reviews.mahara.org/#/c/11396/ Please try this patch and let us know if there are any further issues.
Warm regards,
Lisa
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1905702
Title:
Missing all PDF files in "Export your portfolio"
Status in Mahara:
New
Bug description:
When using "Export your portfolio" (Main Menu > Manage > Export > "All
my data" > Generate export) sometimes the pdf files are missing
This is due to the class PluginExportAll creating 3 new objects.
PluginExportHtml, PluginExportLeap, PluginExportPdf, but using the
exportdir of the object PluginExportHtml.
htdocs/export/lib.php
class PluginExportAll extends PluginExport {
...
public function __construct
$this->htmlexporter = new PluginExportHtml($user, $views, $artefacts, $progresscallback);
$this->leapexporter = new PluginExportLeap($user, $views, $artefacts, $progresscallback);
$this->pdfactive = get_field('export_installed', 'active', 'name', 'pdf');
if ($this->pdfactive) {
safe_require('export', 'pdf');
$this->pdfexporter = new PluginExportPdf($user, $views, $artefacts, $progresscallback);
}
$this->exportdir = $this->htmlexporter->get('exportdir');
The exportdir is based on the exporttime, and is generated seperatly
in PluginExportHtml, PluginExportLeap, PluginExportPdf through the
parent class constructor.
htdocs/export/lib.php
abstract class PluginExport extends Plugin implements IPluginExport {
public function __construct(User $user, $views, $artefacts, ...) {
...
$this->exporttime = time();
...
// Now set up the temporary export directories
$this->exportdir = get_config('dataroot')
. 'export/'
. $this->user->get('id') . '/'
. $this->exporttime . '/';
If the exporttimes differ (by 1 second for examle), different
exportdirs are created, the files are spread over different dirs and
not included in the export.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1905702/+subscriptions
[1] http://www.openedu.nl/support/portal/ticket/view/9485f39fcd7a48b5b835b80e52f2aef4
--
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/1905702
Title:
Missing all PDF files in "Export your portfolio"
Status in Mahara:
New
Bug description:
When using "Export your portfolio" (Main Menu > Manage > Export > "All
my data" > Generate export) sometimes the pdf files are missing
This is due to the class PluginExportAll creating 3 new objects.
PluginExportHtml, PluginExportLeap, PluginExportPdf, but using the
exportdir of the object PluginExportHtml.
htdocs/export/lib.php
class PluginExportAll extends PluginExport {
...
public function __construct
$this->htmlexporter = new PluginExportHtml($user, $views, $artefacts, $progresscallback);
$this->leapexporter = new PluginExportLeap($user, $views, $artefacts, $progresscallback);
$this->pdfactive = get_field('export_installed', 'active', 'name', 'pdf');
if ($this->pdfactive) {
safe_require('export', 'pdf');
$this->pdfexporter = new PluginExportPdf($user, $views, $artefacts, $progresscallback);
}
$this->exportdir = $this->htmlexporter->get('exportdir');
The exportdir is based on the exporttime, and is generated seperatly
in PluginExportHtml, PluginExportLeap, PluginExportPdf through the
parent class constructor.
htdocs/export/lib.php
abstract class PluginExport extends Plugin implements IPluginExport {
public function __construct(User $user, $views, $artefacts, ...) {
...
$this->exporttime = time();
...
// Now set up the temporary export directories
$this->exportdir = get_config('dataroot')
. 'export/'
. $this->user->get('id') . '/'
. $this->exporttime . '/';
If the exporttimes differ (by 1 second for examle), different
exportdirs are created, the files are spread over different dirs and
not included in the export.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1905702/+subscriptions
References