← Back to team overview

mahara-contributors team mailing list archive

[Bug 1779586] Re: Copying page fails to update page description embedded image correctly

 

Preconditions:

1. The following user exist 
a. Mahara Site admin 
b. Mahara member  

Test Script: Embed image in description of portfolio page and allow
public to copy page

1. Mahara Site admin user login
2. Admin user create a page with the following 
a. An embedded image in the description section of the page 
b. Shared with Public
c. Copy page has been enabled 
3.  Save the page and log out
4. Mahara member login
5. Browse to the shared page 
6. Copy the page and save it to your portfolio
7. View the displayed page 
8. Confirm that the embedded image in the Page description is displayed ✔
9. Using the Developer tools - inspect the image and confirm the link looks as follows 
a. /artefact/file/download.php?file=60&view=11&embedded=1&description=11 ✔

Catalyst QA Approved ✔

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

Title:
  Copying page fails to update page description embedded image correctly

Status in Mahara:
  In Progress

Bug description:
  When we have a page description containing an embedded image and we
  share it to another user and allow copying.

  When they copy the page they see the embedded image in the 'settings'
  form but if they don't save that form but go to view the page they
  can't see the image.

  The image is correctly copied from old user to new user, but:

  1) The row for artefact_file_embedded table is not added
  2) The embedded link in description text is not fully formed, eg, 

  it looks like "artefact/file/download.php?file=189&embedded=1"
  it should be like "artefact/file/download.php?file=189&embedded=1&description=20"

  So the copying / embedding needs to be fixed up

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


References