SLING-2465 outlines that when creating a user (self-registration=true) as
an anonymous user, an NPE is thrown because the anonymous user can't see
the newly created user and the User is used to set the path on the
response. In talking with Justin, I've created a patch[1] to impersonate a
session with the new user but closing the impersonated session in
createUser(..) creates a problem of using the returned User ("This session
has been closed."). Does anyone see a nice way to get around this? I can
think of some terrible hacks but no one wants that. :)

Thanks,
Carl

1 http://pastebin.com/6DMeiih0

Reply via email to