Full copy of blog block embedded image problem

Bug #1476059 reported by Robert Lyon on 2015-07-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Robert Lyon
15.04
High
Robert Lyon
15.10
Undecided
Unassigned

Bug Description

When a user adds a blog block to a page where the blog block setting is to full copy any embedded images are not copied.

To test:

1) User A edits their blog description and embeds an image in the description field.

2) User A then adds a blog block to a page (Page A) and picks the blog from step 1 and sets Block copy permission to 'Other will get their own copy ...'

3) User A shares Page A with registered users and in advanced options ticks Allows copying

4) Log in with User B and go to Portfolio and copy Page A

The page is copied and you can see the image in the blog block but in Content -> Files you do not have a copy of the image.

Reviewed: https://reviews.mahara.org/4989
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/e975c5ee61b7f053ce191ab1f7635c072d90e298
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit e975c5ee61b7f053ce191ab1f7635c072d90e298
Author: Robert Lyon <email address hidden>
Date: Mon Jul 20 13:12:55 2015 +1200

Bug 1476059: Duplicate blog block's embedded images

This patch fixes up both the blog and blogpost embedded images so that
they copy correctly when doing a full copy of a blog block

Change-Id: Ic2b202a5425dd21f7a59ed761cb0027aaf2366f4
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed

Reviewed: https://reviews.mahara.org/5128
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/1779d36cc40aa129a2a5456e2a1e3b6d9c54448a
Submitter: Son Nguyen (<email address hidden>)
Branch: 15.04_STABLE

commit 1779d36cc40aa129a2a5456e2a1e3b6d9c54448a
Author: Robert Lyon <email address hidden>
Date: Mon Jul 20 13:12:55 2015 +1200

Bug 1476059: Duplicate blog block's embedded images

This patch fixes up both the blog and blogpost embedded images so that
they copy correctly when doing a full copy of a blog block

behatnotneeded

Change-Id: Ic2b202a5425dd21f7a59ed761cb0027aaf2366f4
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit e975c5ee61b7f053ce191ab1f7635c072d90e298)

Robert Lyon (robertl-9) on 2016-11-06
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers