← Back to team overview

mahara-contributors team mailing list archive

[Bug 600873] [NEW] Portfolio Export from Moodle fails

 

Public bug reported:

When exporting a file from the Assignment mod in Moodle 2.0 to Mahara via the portfolio plugin I get the following error in Moodle:
Failed to start communication with remote server: Payload not encryptedERROR 1:
1:Payload not encrypted 

This seems to occur as the function send_content_ready returns an empty
response...

tracing this further it seems to die in Mahara when the following call
is made in  add_artefacts() in import/file/lib.php

                $id = ArtefactTypeFile::save_file(
                    $uzd . $f->actualfilename,
                    $data,
                    $this->get('usrobj'),
                    true
                );

I haven't had a chance to see why that is failing - might get a chance
on the weekend to look closer.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
Portfolio Export from Moodle fails
https://bugs.launchpad.net/bugs/600873
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
When exporting a file from the Assignment mod in Moodle 2.0 to Mahara via the portfolio plugin I get the following error in Moodle:
Failed to start communication with remote server: Payload not encryptedERROR 1:
1:Payload not encrypted 

This seems to occur as the function send_content_ready returns an empty response...

tracing this further it seems to die in Mahara when the following call is made in  add_artefacts() in import/file/lib.php

                $id = ArtefactTypeFile::save_file(
                    $uzd . $f->actualfilename,
                    $data,
                    $this->get('usrobj'),
                    true
                );

I haven't had a chance to see why that is failing - might get a chance on the weekend to look closer.





Follow ups

References