mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #18505
[Bug 1293803] Re: Adding an profile picture as a background image for a skin causes errors
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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/1293803
Title:
Adding an profile picture as a background image for a skin causes
errors
Status in Mahara ePortfolio:
Fix Released
Bug description:
Version: master, 1.8
Adding an profile picture as a background image for a skin causes
errors:
[WAR] ef (artefact/lib.php:177) Artefact type mismatch. You are trying to use this profileicon as a image.
Call stack (most recent first):
ArtefactType->__construct(35, null) at /home/sonn/code/mahara/1.8/htdocs/artefact/file/lib.php:293
ArtefactTypeFileBase->__construct(35, null) at /home/sonn/code/mahara/1.8/htdocs/artefact/file/lib.php:824
ArtefactTypeFile->__construct(35, null) at /home/sonn/code/mahara/1.8/htdocs/artefact/file/lib.php:1865
ArtefactTypeImage->__construct(35) at /home/sonn/code/mahara/1.8/htdocs/lib/skin.php:929
Skin::generate_thumbnail(1) at /home/sonn/code/mahara/1.8/htdocs/lib/skin.php:284
Skin->commit() at /home/sonn/code/mahara/1.8/htdocs/lib/skin.php:188
Skin::create(array(size 5)) at /home/sonn/code/mahara/1.8/htdocs/skin/design.php:660
designskinform_submit(object(Pieform), array(size 44)) at Unknown:0
call_user_func_array("designskinform_submit", array(size 2)) at /home/sonn/code/mahara/1.8/htdocs/lib/pieforms/pieform.php:528
Pieform->__construct(array(size 8)) at /home/sonn/code/mahara/1.8/htdocs/lib/pieforms/pieform.php:170
Pieform::process(array(size 8)) at /home/sonn/code/mahara/1.8/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 8)) at /home/sonn/code/mahara/1.8/htdocs/skin/design.php:564
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1293803/+subscriptions
References