Add test to check behaviour if an iar is loaded where no user profile exists for the creators

Disable generation of temporary profiles for now, instead record loading user as creator
This commit is contained in:
Justin Clark-Casey (justincc)
2009-09-09 18:03:49 +01:00
parent 2bb2a0ec44
commit 0683cf6e0d
4 changed files with 90 additions and 20 deletions

View File

@@ -153,7 +153,9 @@ namespace OpenSim.Framework.Communications.Osp
CachedUserInfo userInfo = commsManager.UserProfileCacheService.GetUserDetails(firstName, lastName);
if (userInfo != null)
return userInfo.UserProfile.ID;
// XXX: Disable temporary user profile creation for now as implementation is incomplete - justincc
/*
UserProfileData tempUserProfile = new UserProfileData();
tempUserProfile.FirstName = firstName;
tempUserProfile.SurName = lastName;
@@ -164,6 +166,9 @@ namespace OpenSim.Framework.Communications.Osp
commsManager.UserService.AddTemporaryUserProfile(tempUserProfile);
return tempUserProfile.ID;
*/
return UUID.Zero;
}
}
}