← Back to team overview

mahara-contributors team mailing list archive

[Bug 1236661] [NEW] Site statistics: Pages - Page not found error when a page's group has been deleted

 

Public bug reported:

If a group has been deleted, the Admin Home/Site Statistics/Pages tab
(Most Popular Pages) comes up with the error:

Page not found

You tried to access a page that does not exist.

Page with id 0 not found.


The View construct is trying to load the deleted group but as it is
deleted, it automatically throws an exception ViewNotFoundException.

Called in function htdocs/lib/view.php::get_extra_view_info() line 4124
($view = new View(0, $v);

It should check if the group has been deleted and cater for that
situation.

** Affects: mahara
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot from 2013-10-08 12:11:03.png"
   https://bugs.launchpad.net/bugs/1236661/+attachment/3865541/+files/Screenshot%20from%202013-10-08%2012%3A11%3A03.png

-- 
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/1236661

Title:
  Site statistics: Pages - Page not found error when a page's group has
  been deleted

Status in Mahara ePortfolio:
  New

Bug description:
  If a group has been deleted, the Admin Home/Site Statistics/Pages tab
  (Most Popular Pages) comes up with the error:

  Page not found

  You tried to access a page that does not exist.

  Page with id 0 not found.


  The View construct is trying to load the deleted group but as it is
  deleted, it automatically throws an exception ViewNotFoundException.

  Called in function htdocs/lib/view.php::get_extra_view_info() line
  4124 ($view = new View(0, $v);

  It should check if the group has been deleted and cater for that
  situation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1236661/+subscriptions


Follow ups

References