mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40339
[Bug 1651018] A change has been merged
Reviewed: https://reviews.mahara.org/7344
Committed: https://git.mahara.org/mahara/mahara/commit/c779256cea0d521b8cd9a8401e8ab64ac2e94417
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit c779256cea0d521b8cd9a8401e8ab64ac2e94417
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date: Mon Dec 19 16:26:04 2016 +1300
Bug 1651018: fixed hidden error in Content screen, undefined $type
behatnotneeded
Change-Id: I1a61e47154cef6fdcb62276aa3ba212037121064
--
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/1651018
Title:
Undefined variable: type in Content screen. Prod mode=true
Status in Mahara:
Fix Committed
Status in Mahara 16.10 series:
In Progress
Status in Mahara 17.04 series:
Fix Committed
Bug description:
if we have these values in config.php
$cfg->productionmode = true;
$cfg->nocache=false;
$cfg->log_warn_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
Following error shows up in Content screen:
[WAR] 32 (artefact/file/lib.php:2516) Undefined variable: type
Call stack (most recent first):
log_message(string(size 24), integer, true, true, string(size 87), integer) at /var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/lib/errors.php:521
error(integer, string(size 24), string(size 87), integer, array(size 8)) at /var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/artefact/file/lib.php:2516
ArtefactTypeProfileIcon::download_thumbnail(integer) at /var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/thumb.php:32
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1651018/+subscriptions
References