← Back to team overview

mahara-contributors team mailing list archive

[Bug 1518835] Re: Creative Commons block missing images after export

 

** Tags removed: export-html
** Tags added: html

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

Title:
  Creative Commons block missing images after export

Status in Mahara:
  Confirmed

Bug description:
  In Mahara 15.10.1testing, the images used by the Creative Commons
  block are not being included in HTML exports. Instead it's showing the
  absolute URL of the logo file in the Mahara site the page came from.
  This was apparently fixed in Mahara 1.3 in bug 513589, so this may in
  fact be a regression.

  1. Create a page with a creative commons block in it.
  2. View the page to make sure you can see the creative commons logo in the block
  3. Export the block to HTML
  4. Unzip the export zip file
  5. Shut down your local apache web server (sudo service apache2 stop)
  6. Load the index.html from the export zip file into your web browser

  Expected result: The Creative Commons logo displays properly, via an
  <img> link to a file in the "static" or "files" section of the export
  (e.g. "./static/plugintype/blocktype/images/cc-by-sa.png")

  Actual result: The Creative Commons logo is an <img> tag to the URL of
  the logo file in the exporting Mahara site (e.g. "http://vegas.wgtn
  .cat-it.co.nz/mahara/htdocs/theme/raw/plugintype/blocktype/images/cc-
  by-sa.png"). Since you shut down your Apache server, this file can't
  be served and it appears as a broken link. (You may need to reload
  your page first.)

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


References