Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-8944] [Project BigBird] Unworn attachments sometimes show in COF and display as "Error: object is in current outfit but not attached" #16506

Open
1 task
sl-service-account opened this issue Apr 3, 2015 · 1 comment

Comments

@sl-service-account
Copy link

sl-service-account commented Apr 3, 2015

Repro 1 - using llDetachFromAvatar()

The repro script used here is from BUG-4253 - Object is being automatically attached to invalid attachment point after use of :llDetachFromAvatar()
This will reproduce 100% of the time.

  • Rez a default box and add the following script

    default
    
    {
    
        on_rez(integer start_param)
    
        {
    
            llResetScript();
    
        }
    
        state_entry()
    
        {
    
            if(llGetAttached() == 0)
    
            {
    
                llSay(0,"I'm rezzed");
    
            }
    
            else
    
            {
    
                llSay(0,"I'm detached");
    
                llRequestPermissions(llGetOwner(),PERMISSION_ATTACH);
    
            }
    
        }
    
        run_time_permissions(integer perm)
    
        {
    
            if(perm & PERMISSION_ATTACH)
    
            {
    
                llDetachFromAvatar();
    
            }
    
        }
    
    }
  • Take box into Inventory.

  • Right click box -> Add

  • Note: The repro script from BUG-7131 will also reproduce this problem.

    Observed Behaviour

  • Box is attached to avatar and immediately detached from avatar.

  • After box is detached from avatar, the box appears in current outfit folder as worn but showing the error message "Error: object is in current outfit but not attached"

  • See Whirly_2.log for a session where I logged in, ran through the Repro 1 and logged out.

    Expected Behaviour

    Box should attach and then detach immediately and not remain showing in the current outfit folder.


Repro 2 - Wearing an outfit with a lot of attachments

Reproduces about 90% of the time.

  • Replace outfit with one that has a lot of attachments or - follow the steps below.

  • Teleport to http://maps.secondlife.com/secondlife/Testylvania%20Sandbox/69/83/22 and god take the "BUG-8944 Repro 2" box (look for http://i.imgur.com/FgAnE8V.jpg).

  • Open this box and copy contents to inventory.

  • This box contains an outfit which includes 38 attachments - each attachment is set to attach to a different attachment point.

  • Right click the "BUG-8944 Repro 2" folder in inventory -> Replace current outfit.

    Observed Behaviour

  • Usually you will see 1-3 "Attempt to rez an object failed." notifications in the viewer.
    This is not new on the BigBird viewer - it has always happened when attaching a lot of attachments at the same time.

  • Several of the attachments from the "BUG-8944 Repro 2" folder will show as unworn in the "BUG-8944 Repro 2" folder.

  • The attachments that show as unworn in the "BUG-8944 Repro 2" folder will display as "worn" in the current outfit folder but with the "Error: object is in current outfit but not attached" message.

  • See Fig 3 attached.

  • See Whirly_3.log attached.

    Expected Behaviour

    All attachments should get attached
    Attachments that didn't attach should not show in COF.

    Other Information

  • This problem also reproduces fairly frequently when just performing standard outfit changes (adding/wearing/removing attachments) too.

  • Often when making outfit changes, you will see the "Error: object is in current outfit but not attached" message appear briefly against attachments in the Current Outfit folder but then it will go away after a couple of seconds.

  • However, fairly often it will not go away and remains, no matter how long you wait.

  • See Fig 1 and Fig 2 showing the problem when adding just 9 attachments to my avatar and my log files from the session where this reproduced - Whirly_1.log.

Attachments

Links

Related

Original Jira Fields
Field Value
Issue BUG-8944
Summary [Project BigBird] Unworn attachments sometimes show in COF and display as "Error: object is in current outfit but not attached"
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Reporter Whirly Fizzle (whirly.fizzle)
Created at 2015-04-03T14:29:24Z
Updated at 2015-04-24T02:42:31Z
{
  'Business Unit': ['Platform'],
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': '.',
  'What were you doing when it happened?': 'Filling in...',
  'What were you expecting to happen instead?': '.',
}
@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2015-04-24T02:42:31Z

Still reproduces on http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Project_BigBird/3.7.28.300856

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant