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

Bug #1424284 reported by Son Nguyen on 2015-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
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) on 2015-02-21
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

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

Changed in mahara:
milestone: none → 15.04.0
Son Nguyen (ngson2000) on 2015-02-22
Changed in mahara:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Son Nguyen (ngson2000)

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

Son Nguyen (ngson2000) on 2015-02-23
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
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

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) on 2015-02-25
Changed in mahara:
status: Confirmed → Fix Committed
Robert Lyon (robertl-9) on 2015-04-17
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