← Back to team overview

mahara-contributors team mailing list archive

[Bug 600873] Re: Portfolio Export from Moodle fails

 

I reported this again here: https://tracker.moodle.org/browse/MDL-52112

Why is this bug affecting us with Moodle 3.11.2+ (Build: 20210812) and
Mahara 21.04.0. Any ideas? Are we using the wrong PHP version? We are
running PHP 7.4

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/600873

Title:
  Portfolio Export from Moodle fails

Status in Mahara:
  Fix Released

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.

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



References