mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40004
[Bug 1122602] Re: Warnings when adding a site image file into a group view
To replicate:
- Login as site admin user
- add an image file to site files, but outside public folder
- go to a group page and edit
- add an image block and choose the image
- Save
you should see the errors
- in same page add a block Media/Files to download
- select same image from Site files
- Save
should see the errors
--
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:
In Progress
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