← Back to team overview

mahara-contributors team mailing list archive

[Bug 1489274] [NEW] Full copy of blog block with embedded images still causing problems

 

Public bug reported:

Bug 1476059 fixed some problems with copies of blogs that have embedded
images. But, it didn't do a database update, so blog entries created
before that bug fix will still cause problems.

Here's how to replicate:

1. Install Mahara 15.04.2
2. Create a blog entry.
3. Use the TinyMCE "image" button to embed an image in the blog entry
4. Create a page
5. Put a blog entry block on the page.
6. Select the blog entry you created
7. Set the block's copy permission to "Others will get their own copy of your journal"
8. Share the page with registered users
9. Set the page to allow copying
10. Upgrade site to Mahara 15.04.3
11. Log in as a second user
12. Copy the page

Expected result: You should see the image from the blog entry, on your copy of the page
Actual result: The blog entry shows "undefined" where the image should be

** Affects: mahara
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: Confirmed

** Affects: mahara/15.04
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.10
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: Confirmed


** Tags: blog copying images

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/15.04
    Milestone: None => 15.04.4

** Changed in: mahara/15.04
       Status: New => In Progress

** Changed in: mahara/15.10
       Status: New => Confirmed

** Changed in: mahara/15.04
   Importance: Undecided => Medium

** Changed in: mahara/15.10
   Importance: Undecided => Medium

** Changed in: mahara/15.04
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/15.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Tags added: blog copying images

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

Title:
  Full copy of blog block with embedded images still causing problems

Status in Mahara:
  Confirmed
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Bug 1476059 fixed some problems with copies of blogs that have
  embedded images. But, it didn't do a database update, so blog entries
  created before that bug fix will still cause problems.

  Here's how to replicate:

  1. Install Mahara 15.04.2
  2. Create a blog entry.
  3. Use the TinyMCE "image" button to embed an image in the blog entry
  4. Create a page
  5. Put a blog entry block on the page.
  6. Select the blog entry you created
  7. Set the block's copy permission to "Others will get their own copy of your journal"
  8. Share the page with registered users
  9. Set the page to allow copying
  10. Upgrade site to Mahara 15.04.3
  11. Log in as a second user
  12. Copy the page

  Expected result: You should see the image from the blog entry, on your copy of the page
  Actual result: The blog entry shows "undefined" where the image should be

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


Follow ups