Activity log for bug #1468144

Date Who What changed Old value New value Message
2015-06-24 00:12:02 Aaron Wells bug added bug
2015-06-24 00:15:08 Aaron Wells description This bug is a follow-up to Bug 1461040. The code in Mahara that generates SVG files for page layouts, breaks if you are using a locale that does commas for decimals, instead of periods. e.g. 1 half is "0,5" rather than "0.5". Here's a quote from the other bug: I also encountered this after beginning with translation of Mahara 15.04 into Estonian. As the locale setting have also been changed the values returned by PHP (please correct me if I am wrong) will be comma separated and not separated with decimal point (due to Estonian representation of float numbers). So Peter probably sees only the SVG images which are not returned with float values. Small output of false return values which are not rendered by browser: <rect x="52,2" y="18"..></rect>. (should be x="52.2") This also affects gallery where the images should be centered but due to false float values are not. The fix provided at the moment helps, but does not solve the float number representation. I have chosen to replace "," in returned values with "." in layoutpreviewimage.php and it has "solved" the problem. I am open for better solutions. I hope this helps a bit. This bug is a follow-up to Bug 1461040. The code in Mahara that generates SVG files for page layouts, breaks if you are using a locale that does commas for decimals, instead of periods. e.g. one half is "0,5" rather than "0.5". Here's a quote from the other bug: I also encountered this after beginning with translation of Mahara 15.04 into Estonian. As the locale setting have also been changed the values returned by PHP (please correct me if I am wrong) will be comma separated and not separated with decimal point (due to Estonian representation of float numbers). So Peter probably sees only the SVG images which are not returned with float values. Small output of false return values which are not rendered by browser: <rect x="52,2" y="18"..></rect>. (should be x="52.2") This also affects gallery where the images should be centered but due to false float values are not. The fix provided at the moment helps, but does not solve the float number representation. I have chosen to replace "," in returned values with "." in layoutpreviewimage.php and it has "solved" the problem. I am open for better solutions. I hope this helps a bit.
2015-07-01 03:29:05 Aaron Wells mahara: status New In Progress
2015-07-01 03:29:12 Aaron Wells nominated for series mahara/15.04
2015-07-01 03:29:12 Aaron Wells bug task added mahara/15.04
2015-07-01 03:29:12 Aaron Wells nominated for series mahara/15.10
2015-07-01 03:29:12 Aaron Wells bug task added mahara/15.10
2015-07-01 03:29:18 Aaron Wells mahara/15.10: milestone 15.10.0
2015-07-01 03:29:20 Aaron Wells mahara/15.04: milestone 15.04.2
2015-07-01 03:29:23 Aaron Wells mahara/15.04: status New In Progress
2015-07-01 03:29:25 Aaron Wells mahara/15.10: importance Undecided Medium
2015-07-01 03:29:27 Aaron Wells mahara/15.04: importance Undecided Medium
2015-07-01 03:29:36 Aaron Wells mahara/15.10: assignee Robert Lyon (robertl-9)
2015-07-01 03:29:43 Aaron Wells mahara/15.04: assignee Robert Lyon (robertl-9)
2015-07-01 22:22:06 Robert Lyon mahara/15.10: status In Progress Fix Committed
2015-07-01 22:22:08 Robert Lyon mahara/15.04: status In Progress Fix Committed
2015-07-10 02:36:33 Robert Lyon mahara/15.04: status Fix Committed Fix Released
2015-10-23 06:12:40 Aaron Wells mahara/15.10: status Fix Committed Fix Released
2016-11-06 23:23:48 Robert Lyon mahara: status Fix Committed Fix Released