← Back to team overview

mahara-contributors team mailing list archive

[Bug 1775102] Re: warning for an empty collection with tags

 

** Changed in: mahara
    Milestone: 18.04.3 => None

-- 
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:
  Won't Fix

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