﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty
1196,recursive disable_entity fails if the code is not logged-in,kevinjardine,,"Elgg 1.6 displays a:

""Failed to load new ElggObject from GUID:XXX""

message if a user registers and one or more default widgets have been defined.

The code creates the user and the widget, and then disables the user (until reactivated by the confirmation link).

When disabling the user, the code also attempts to disable all the objects owned by the user, including the widget. However, the code is running with no user logged in, and the widget default access control is set to ""Logged-in users"". Hence the error is generated.

The disable_entity function attempts to do something to route around Elgg's access controls but this apparently no longer works under Elgg 1.6.",Defect,closed,normal,Elgg 1.8.4,Core,1.6,minor,fixed,,marcus brettp,moderate
