Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008626opensim[GRID] Robust Serverpublic2019-11-12 14:272019-11-18 04:17
Assigned To 
PlatformOSOS Version
Product Version0.9.1.1 
Target VersionFixed in Version 
Summary0008626: When specifying region to login, user will sometimes land in a region with similar name.
DescriptionThis bug exists in past code as well, but the patch I'm submitting is for recent trunk (yeti).
Prior to logging into the grid, if a user specifies a region such as "Welcome", they may land in a region with a similar name such as "New Welcome".
Steps To ReproduceCreate multiple regions with similar names such as Welcome, My Welcome, Old Welcome. Open your favorite viewer, specify the region to login to as "Welcome" and then login. You may or may not land at your intended destination and may very well end up in Old Welcome.
Additional InformationI found that in OpenSimServices.LLLoginService in the LLLoginService.cs file the code tries to resolve the specified name by searching for a region "Like" the one specified and then returns the first element in the search, which may or may not be the correct region.

The changes I have made which are included in this patch will search first for the specific region name provided by the user, if found, it will return that region and the user will land there, if that region is not found, the code will continue as previously coded.

There are some changes to the OpenSim.Data.PGSQL project which I believe are fine, but I'm not a postgres user and my changes were done in that file by looking at other code in that files as an example. If you are a postgre user and have issues with this patch, check there first to be sure I didn't make an error.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script EngineXEngine
Environment.NET / Windows64
Mono VersionNone
Attached Fileszip file icon [^] (3,749 bytes) 2019-11-12 14:27

- Relationships

-  Notes
UbitUmarov (administrator)
2019-11-13 22:38

applied patchs, then changed a few things..
tampa (reporter)
2019-11-18 04:17

Could someone test this, verify it works on both db systems?

- Issue History
Date Modified Username Field Change
2019-11-12 14:27 terryf New Issue
2019-11-12 14:27 terryf File Added:
2019-11-12 14:37 terryf Additional Information Updated View Revisions
2019-11-12 14:38 UbitUmarov Product Version =>
2019-11-13 22:38 UbitUmarov Note Added: 0035860
2019-11-18 04:17 tampa Note Added: 0035884

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker