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

[BUG-233015] Objects will fail to rez or attach if LinkSetData has any key/value containing certain characters #10177

Closed
1 task
sl-service-account opened this issue Dec 3, 2022 · 3 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Dec 3, 2022

What just happened?

An object will fail to rez or attach if its LinkSetData store has a key or value that contains any of the following characters:

U+0001..U+0008, U+000C, U+000E..U+001F

We've tested up to U+03E8.

What were you doing when it happened?

Minimal repo.

  1. Create object.

  2. Add below script.

  3. Change the value in llChar for testing other characters. Or change to setting value to test char.

  4. Take (copy) of object.

  5. Attempt to rez or wear.

  6. Object will not rez or attach.

    What were you expecting to happen instead?

    Be able to rez or attach such objects.

    Other information

    Repo script.

    default
    {
        state_entry()
        {
            llLinksetDataReset();
            llLinksetDataWrite(
                llChar(0x1), 
                "test"
            );    
        }
    }

Links

Related

Original Jira Fields
Field Value
Issue BUG-233015
Summary Objects will fail to rez or attach if LinkSetData has any key/value containing certain characters
Type Bug
Priority Unset
Status Closed
Resolution Triaged
Labels linksetdata, lsl, script
Reporter Kadah Coba (kadah.coba)
Created at 2022-12-03T14:18:28Z
Updated at 2023-05-29T16:17:03Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2022-12-03T14:26:53.657-0600',
  "Is there anything you'd like to add?": 'Repo script.\r\n\r\n{code:lsl}\r\ndefault\r\n{\r\n    state_entry()\r\n    {\r\n        llLinksetDataReset();\r\n        llLinksetDataWrite(\r\n            llChar(0x1), \r\n            "test"\r\n        );    \r\n    }\r\n}\r\n{code}',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Simulator',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': "An object will fail to rez or attach if its LinkSetData store has a key that contains any of the following characters:\r\n\r\nU+0001..U+0008, U+000C, U+000E..U+001F\r\n\r\nWe've tested up to U+03E8.\r\n",
  'What were you doing when it happened?': 'Minimal repo.\r\n\r\n# Create object.\r\n# Add below script.\r\n# Change the value in llChar for testing other characters.\r\n# Take (copy) of object.\r\n# Attempt to rez or wear.\r\n# Object will not rez or attach.',
  'What were you expecting to happen instead?': 'Be able to rez or attach such objects.',
}
@sl-service-account
Copy link
Author

Kadah Coba commented at 2022-12-03T14:33:04Z

Those keys do work for write and read, and when attached it will survive TP and region crossings, its only after the object is taken/detached that it breaks.

Logging out with the test object attached will also cause repo.

@sl-service-account
Copy link
Author

Lucia Nightfire commented at 2022-12-03T20:26:54Z

During beta testing on aditi, the very first LSD non-test app I made on used C0 characters for delimiters and I ran into this issue, but attributed it to an inventory issue resulting from a coincidentally timed viewer crash and in-turn, coincidentally went to pipes for delimiters in subsequent script updates.

Had there not been these coincidental events, I probably would have investigated this on day1.

@sl-service-account
Copy link
Author

Kadah Coba commented at 2022-12-05T05:35:43Z

I just checked if values will also trigger this and they do. Have updated to reflect this.

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