﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty
1199,elgg_view_regenerate_simplecache() causes page owner to not be set,cash,,"To reproduce:

 * Log as admin
 * Go to tools administration
 * turn off file plugin
 * turn on file plugin
 * select Files from the dropdown menu
 * check the url for the ""Upload a file"" sidebar menu item - it should be missing the username 

Problem description: elgg_view_regenerate_simplecache() causes the pagesetup event to be triggered too early in the boot process because it calls elgg_view. Any callbacks for the pagesetup event that require the page_owner to be set then break. 

Possible fix: setting and unsetting $CONFIG->pagesetupdone in the elgg_view_regenerate_simplecache() function so that the pagesetup event is not triggered prematurely. ",Defect,closed,normal,Elgg 1.7,Core,1.6,minor,fixed,,marcus brettp,
