← Back to team overview

mahara-contributors team mailing list archive

[Bug 1871018] [NEW] Importing page with embedded image not working in all cases

 

Public bug reported:

If I have 
- User A that has
- A page, Page A, that has
- A text block on it called Block A
- And in that block some text and an embedded image (using tinymce image selector)

And I export Page A

Then I import it into User B I can see the newly created page has a copy
of the embedded image in it.

However if I go to another site and import it into User C the embedded
image is not present in the page - It is present in the files area
though - but just not hooked up to the text block.

The reason for this is the creating of the text block from imported
Leap2A want to match on the <img> tag containing the same url domain as
the current site.

When it needs to be more flexible that this

** Affects: mahara
     Importance: High
         Status: In Progress

** Affects: mahara/18.10
     Importance: High
         Status: Confirmed

** Affects: mahara/19.04
     Importance: High
         Status: Confirmed

** Affects: mahara/19.10
     Importance: High
         Status: Confirmed

** Affects: mahara/20.04
     Importance: High
         Status: In Progress

** Changed in: mahara
    Milestone: None => 20.04rc1

** Changed in: mahara
   Importance: Undecided => High

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

** Also affects: mahara/20.04
   Importance: High
       Status: In Progress

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

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

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

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/19.04
   Importance: Undecided => High

** Changed in: mahara/18.10
   Importance: Undecided => High

** Changed in: mahara/19.10
    Milestone: None => 19.10.3

** Changed in: mahara/19.04
    Milestone: None => 19.04.5

** Changed in: mahara/18.10
    Milestone: None => 18.10.6

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

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

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

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

Title:
  Importing page with embedded image not working in all cases

Status in Mahara:
  In Progress
Status in Mahara 18.10 series:
  Confirmed
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  In Progress

Bug description:
  If I have 
  - User A that has
  - A page, Page A, that has
  - A text block on it called Block A
  - And in that block some text and an embedded image (using tinymce image selector)

  And I export Page A

  Then I import it into User B I can see the newly created page has a
  copy of the embedded image in it.

  However if I go to another site and import it into User C the embedded
  image is not present in the page - It is present in the files area
  though - but just not hooked up to the text block.

  The reason for this is the creating of the text block from imported
  Leap2A want to match on the <img> tag containing the same url domain
  as the current site.

  When it needs to be more flexible that this

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


Follow ups