• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2222
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Loella Lusch
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llGetOwner Reports Previous Owner From Child Prim When Land Is Sold WITH Objects

Created: 23/Apr/08 08:03 AM   Updated: 20/Nov/08 11:52 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.20.0 Server
Fix Version/s: None

Environment: Windows XP SP2, nVidia GeoForce 7950 GTOC
Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
When land is sold WITH objects, subsequently to the sale llGetOwner called from scripts in child prims of those objects continues to report the previous owner. If the new owner takes and then re-rezzes the object the problem rectifies itself. However, this could be problematic for complex builds, e.g. houses with scripted doors/windows that rely on checking ownership for some secure operations (this was my experience with a system that uses object ownership as a means of elminating potential cross-chat between similar systems owned by different avatars).

This issue appear only to affect the child prims of objects sold with land. Root prim scripts report the correct new owner immediately after sale. Neither does it affect objects sold as objects with "original" or "copy" sale modes.

A possible workaround which I have not tried is to use llGetOwnerKey( llGetLinkKey( LINK_ROOT ) ) from the child prim, but in general scripters will expect llGetOwner to return the correct owner in all circumstances.

The issue is easily reproduced by using a two-prim object, each prim having a script that reports the owner on touch. Place said object on a land parcel and then sell the land WITH objects to another avatar. Then touch each prim. The root will report the new owner, the child prim the previous owner.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Harleen Gretzky made changes - 23/Apr/08 09:39 AM
Field Original Value New Value
Resolution Duplicate [ 3 ]
Status Open [ 1 ] Resolved [ 5 ]
Harleen Gretzky made changes - 23/Apr/08 09:39 AM
Link This issue duplicates SVC-369 [ SVC-369 ]
Sue Linden made changes - 13/Nov/08 12:10 PM
Workflow jira-2007-12-22a [ 55212 ] jira-2008-11-14 [ 82428 ]
Sue Linden made changes - 13/Nov/08 04:44 PM
Workflow jira-2008-11-14 [ 82428 ] jira-2008-11-14a [ 91364 ]
Joeseph Albanese made changes - 20/Nov/08 11:52 PM
Link This issue Relates to SVC-3444 [ SVC-3444 ]