mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48758
[Bug 1775102] Re: warning for an empty collection with tags
** Changed in: mahara
Milestone: 18.04.2 => 18.04.3
** Changed in: mahara/17.10
Milestone: 17.10.6 => 17.10.7
** Changed in: mahara/17.04
Milestone: 17.04.9 => 17.04.10
--
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/1775102
Title:
warning for an empty collection with tags
Status in Mahara:
New
Status in Mahara 17.04 series:
New
Status in Mahara 17.10 series:
New
Bug description:
To replicate
- Create a collection with a tag and don't add any pages to it
- go to tags.php
the following warning is displayed:
[WAR] 75 (lib/collection.php:1084) Attempting to get url for an empty collection
Call stack (most recent first):
log_message("Attempting to get url for an empty collection", 8, true, true) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:95
log_warn("Attempting to get url for an empty collection") at /home/ceciliavg/maharacode/mahara/htdocs/lib/collection.php:1084
Collection->get_url() at /home/ceciliavg/maharacode/mahara/htdocs/lib/mahara.php:4518
build_portfolio_search_html(object(stdClass)) at /home/ceciliavg/maharacode/mahara/htdocs/tags.php:31
this happens in 17.10/18.04/17.04 - not on master
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1775102/+subscriptions
References