Files embedded in a note block did not show after copy a page

Bug #1424284 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen

Bug Description

Version: master (15.04)
Platform: any
Browser: any

After copy a page with a note, all embedded files are copied but not shown in the new note

Steps:

1. Login as userA
2. Create a page
3. Add a note
4. In the block content, insert some images from 'My files'
4. Share the page and allow copy to userB
5. Login as userB
6. Click 'Copy a page', select the page shared from userA
7. Open the copied page

Issue: you did not see the files embedded in the note block.

Son Nguyen (ngson2000)
summary: - Files attached in a note block did not show after coy a page
+ Files attached in a note block did not show after copy a page
Revision history for this message
Son Nguyen (ngson2000) wrote : Re: Files attached in a note block did not show after copy a page

This bug also happens in 1.8, 1.9, and 1.10 version

Changed in mahara:
milestone: none → 15.04.0
Son Nguyen (ngson2000)
Changed in mahara:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Son Nguyen (ngson2000)
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Would it be fixed by the patch at https://bugs.launchpad.net/mahara/+bug/1390833 ?

Son Nguyen (ngson2000)
summary: - Files attached in a note block did not show after copy a page
+ Files embedded in a note block did not show after copy a page
description: updated
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/4307

Revision history for this message
Son Nguyen (ngson2000) wrote :

Embedded images is only available in 15.04, so I removed other versions

no longer affects: mahara/1.10
no longer affects: mahara/1.8
no longer affects: mahara/1.9
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4307
Committed: http://gitorious.org/mahara/mahara/commit/5d9385d6d1a864842a96fb4994ef6f037a424e9e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 5d9385d6d1a864842a96fb4994ef6f037a424e9e
Author: Son Nguyen <email address hidden>
Date: Mon Feb 23 13:18:36 2015 +1300

Update embed images in 'Note' blocks when copying. Bug 1424284

This will update
- the block content which have links to these embedded images
- the tables 'artefact_file_embedded' and 'view_artefact' in database

Change-Id: I7b97e0828fd89609f9bd43e786c5ff5ad3e53156
Signed-off-by: Son Nguyen <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → Fix Committed
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.