Reviewed: https://reviews.mahara.org/2647 Committed: http://gitorious.org/mahara/mahara/commit/0493993274ade7c6057af8e57bcc3751e44ad2bd Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: master
commit 0493993274ade7c6057af8e57bcc3751e44ad2bd Author: Aaron Wells <aar...@catalyst.net.nz> Date: Wed Oct 23 14:24:35 2013 +1300 Revert the upgrade section that searches for orphaned group content Bug1236661: It turned out this process can take a very long time for substantially sized Maharas, which are the ones that are most likely to have been around since 1.4 and benefit from this. Since we've updated the code where the orphaned pages were causing problems, this bit is no longer strictly necessary, so it's best just to remove it. Change-Id: I628eb24fd7eb38a50b484df16053c55d7264d89b -- 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 in 1.4, followed by an upgrade to 1.8 Status in Mahara ePortfolio: In Progress Status in Mahara 1.8 series: In Progress 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); Update: This only occurs when the group was deleted in Mahara 1.4 or earlier. After 1.5, the group_delete() function was updated to also delete all the group's Pages. And the error on the report page only happens in Mahara 1.8, probably due to some change we made in View::get_extra_view_info(). To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1236661/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp