mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40667
[Bug 1122602] A change has been merged
Reviewed: https://reviews.mahara.org/7299
Committed: https://git.mahara.org/mahara/mahara/commit/e977a8ac89764c2639c6404bc1798f34849680b9
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit e977a8ac89764c2639c6404bc1798f34849680b9
Author: Cecilia Vela Gurovic <cecilia@xxxxxxxxxxxxxxx>
Date: Wed Dec 7 17:48:29 2016 +1300
Bug 1122602: Error message for site image not public in block
In a group page, a site admin can add an image block
with a site file that is not inside the public folder.
The fix adds this case when checking the permissions
edit, view and republish of the image.
behatnotneeded
Change-Id: I00bcff663b05eb5f47463f11da900901b049a5a5
--
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/1122602
Title:
Warnings when adding a site image file into a group view
Status in Mahara:
Fix Committed
Bug description:
Version: master
Platform: all
Browser: FF and Chrome
Steps for issue the warnings
1. Login as a group admin or member
2. Edit a group page
3. Add image bloctype
4. In the configure box, select a site image in Site files tab, Click Save and then Done
The warnings:
[WAR] 9f (artefact/file/lib.php:471) Undefined property: stdClass::$author
Call stack (most recent first):
log_message("Undefined property: stdClass::$author", 8, true, true, "/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471) at /home/sonn/code/mahara/htdocs/lib/errors.php:446
error(8, "Undefined property: stdClass::$author", "/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471, array(size 14)) at /home/sonn/code/mahara/htdocs/artefact/file/lib.php:471
ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 1)) at /home/sonn/code/mahara/htdocs/artefact/file/form/elements/filebrowser.php:142
pieform_element_filebrowser(object(Pieform), array(size 16)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
Pieform->build_element_html(array(size 16)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
Pieform->build() at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:899
Pieform->json_reply(0array(size 7)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:866
Pieform->reply(0array(size 7)) at /home/sonn/code/mahara/htdocs/blocktype/lib.php:588
BlockInstance->instance_config_store(object(Pieform), array(size 10)) at Unknown:0
call_user_func_array(array(size 2), array(size 2)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:514
Pieform->__construct(array(size 15)) at /home/sonn/code/mahara/htdocs/blocktype/lib.php:872
BlockInstance->build_configure_form() at /home/sonn/code/mahara/htdocs/view/blocks.php:87
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1122602/+subscriptions
References