Full copy of blog block embedded image problem

Bug #1476059 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
15.04
Fix Released
High
Robert Lyon
15.10
Fix Released
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.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4989

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/5128

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.