← Back to team overview

mahara-contributors team mailing list archive

[Bug 1975712] Re: image rotation fail if there is an external file system

 

Hi Kristina,

Thank you. I'll provide the fix, I'm still trying to figure out how to
pass the automatic test. Will let you know once it's done :)

Kind regards,
Christina

-- 
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/1975712

Title:
  image rotation fail if there is an external file system

Status in Mahara:
  Confirmed

Bug description:
  Rotating image breaks when using objectfs plugin as an external file
  system.

  Steps to reproduce (with 21.10):

  1. Fresh install mahara
  2. Install https://github.com/catalyst/mahara-module_aws and https://github.com/catalyst/mahara-module_objectfs
  3. Configure the plugin with test s3 crendentials
  4. Add this in config.php

  $cfg->externalfilesystem = array(
     "includefilepath" => "module/objectfs/classes/s3_file_system.php",
     "class" => "module_objectfs\\s3_file_system"
  );

  5. Upload an image on the artefact (site/artefact/file/index.php) 
  6. Rotate the image. It would be broken and the only way to fix is to move back orientation to 0

  
  This is related to: https://bugs.launchpad.net/mahara/+bug/1776364

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



References