← Back to team overview

mahara-contributors team mailing list archive

[Bug 1993765] [NEW] Some composite resume types come out of the prepare_embedded_images function with a description URL missing the resourcetype and ID

 

Public bug reported:

Test:

- go to the resume area
- embed an image in all the areas (certification, academic goals, books, etc)
- add an 'entireresume' block on to a page and share it with someone.
- look at the shared page not as the owner
- the embedded images for some composite resume artefacts are broken

This is due to the prepare_embedded_images function not creating a
proper URL that includes the resoucetype=resourceID.

E.g. mahara/artefact/file/download.php?file=252&embedded=1&academicskill=2 is a working link,
but mahara.org/artefact/file/download.php?file=439083&embedded=1 is broken when viewed not as the owner.

** Affects: mahara
     Importance: Undecided
         Status: New

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

Title:
  Some composite resume types come out of the prepare_embedded_images
  function with a description URL missing the resourcetype and ID

Status in Mahara:
  New

Bug description:
  Test:

  - go to the resume area
  - embed an image in all the areas (certification, academic goals, books, etc)
  - add an 'entireresume' block on to a page and share it with someone.
  - look at the shared page not as the owner
  - the embedded images for some composite resume artefacts are broken

  This is due to the prepare_embedded_images function not creating a
  proper URL that includes the resoucetype=resourceID.

  E.g. mahara/artefact/file/download.php?file=252&embedded=1&academicskill=2 is a working link,
  but mahara.org/artefact/file/download.php?file=439083&embedded=1 is broken when viewed not as the owner.

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