Hi,

There isn’t a graceful way to handle this other than by removing consistency 
checks and assertions. Once those are removed, at login, it still will crash 
because the viewer attempts to locate the root folder by its folder type type 
(which is defined as 8.) By design, when a folder or asset is found without a 
parent folder and it does not have the root folder type, the viewer attempts to 
move it to Lost and Found. This is to prevent content loss and allow access to 
the orphaned folder and its contents.

Now obviously, the viewer attempting to move the root folder, which it believes 
is orphaned because of its invalid folder type, into the Lost and Found folder 
which is under the root is recursive behavior and very quickly smashes the 
stack.

Firestorm, Singularity, and Kokua have nullified this verify-and-move behavior 
on OpenSim; they just don’t do it. That’s a simple viewer workaround, but 
unhelpful to the end user. There are also other quirky client-server issues 
caused by this incompatibility. Buy Contents from an object being placed 
outside of root or in the wrong folder is one example, #RLV folder not working 
(while not part of SL’s api) is another.

-- 
Cinder Roxley
Sent with Airmail

On August 6, 2015 at 8:58:43 AM, Kevin Cozens ([email protected]) wrote:

On 15-08-06 10:16 AM, Diva Canto wrote:  
> A root  
> folder anything other than 8 will crash viewers that check for it.  

That would be a bug in the viewer program. If it gets something unexpected  
it shouldn't crash but handle it gracefully.  

> I would like to hear of any objections to proceeding with (1) complying with  
> the protocol for root folders and (2) changing the Suitcase folder number to  
> something other than 8 (Oren, you did that, so please let us know).  

Has anyone determined why OpenSim changed the root folder number to 9?  

--  
Cheers!  

Kevin.  

http://www.ve3syb.ca/ |"Nerds make the shiny things that distract  
Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're  
| powerful!"  
#include <disclaimer/favourite> | --Chris Hardwick
_______________________________________________
Opensim-dev mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev

Reply via email to