Mantis Bug Tracker

View Revisions: Issue #8626 All Revisions ] Back to Issue ]
Summary 0008626: When specifying region to login, user will sometimes land in a region with similar name.
Revision 2019-11-12 14:37 by terryf
Additional Information I 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.

Note:
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.
Revision 2019-11-12 14:27 by terryf
Additional Information I 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.

Note:
There are some changes to the OpenSim.Data.PGSLQ 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.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker