mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #27170
[Bug 1461040] Re: no layouts visible
The easiest way to replicate this:
1. Create a file htdocs/local/lang/en.utf8/view.php
2. In that file, put these contents:
<?php
$string['33,33,33'] = '33,33,33';
3. Log in to Mahara and go to a page's "Layout" tab.
Expected result: You should see the thumbnails of all the layouts
Actual result: Some layouts will be missing or incomplete (the ones
where they have a 33,33,33 row in them)
And conversely, a workaround to fix this, if you're using an affected
langpack, is to put in place a local/lang file that replaces all the
layout strings with the (hyphenated) layout strings from the default
htdocs/lang/en.utf8/view.php file.
This bug only affects Mahara 15.04 and 15.10dev, because it's caused by
the code that generates the layout thumbnails as SVGs.
Cheers,
Aaron
** Description changed:
- In 15.04.1 there are noch pictures of the layouts visible anymore. The
+ In 15.04 there are noch pictures of the layouts visible anymore. The
layouts are still there, but you can't see what layout it is because of
the missing picture. Windows. Firefox 38.0.1.
** Summary changed:
- no layouts visible
+ Page layout thumbnails are missing in languages that have changed the layout lang strings
--
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/1461040
Title:
Page layout thumbnails are missing in languages that have changed the
layout lang strings
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 15.04 series:
Confirmed
Bug description:
In 15.04 there are noch pictures of the layouts visible anymore. The
layouts are still there, but you can't see what layout it is because
of the missing picture. Windows. Firefox 38.0.1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1461040/+subscriptions
References