secondlife / jira-archive

2 stars 0 forks source link

[BUG-231542] llKey2Name() adds an additional character (probably space) between first and last name #8999

Closed sl-service-account closed 8 months ago

sl-service-account commented 2 years ago

What just happened?

A security device no longer honors names in lists as of 12/07/21 list format is ex: pauladell resident function: string Agent = llToLower(llKey2Name(ak));

returns: pauladell  resident  (ak is a captured key earlier in the script) Prior to 12/07 or maybe 12/06 there was only a single space between first and last name.

What were you doing when it happened?

Nothing. Logged in and because the returned name from llKey2Name had an additional character between first and last name, was no longer alloiwed in home.

What were you expecting to happen instead?

my name (in lower case) pauladell resident returned by llList2Key would match an entry in the list of those allowed on the parcel

Other information

This could be messing a lot of other scripts: Here is a short script proving the bug:

default {

on_rez(integer RP)

{ llSleep(1); llSay(0,llKey2Name(llGetOwner())); }

} //END DEFAULT

The text generated has two characters between first and last name

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-231542 | | Summary | llKey2Name() adds an additional character (probably space) between first and last name | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Duplicate | | Reporter | pauladell (pauladell) | | Created at | 2021-12-07T10:59:50Z | | Updated at | 2021-12-07T21:23:22Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2021-12-07T15:23:22.220-0600', "Is there anything you'd like to add?": 'This could be messing a lot of other scripts: Here is a short script proving the bug:\r\n\r\ndefault\r\n{\r\n\r\n on_rez(integer RP)\r\n {\r\n llSleep(1); \r\n llSay(0,llKey2Name(llGetOwner()));\r\n }\r\n\r\n} //END DEFAULT\r\n\r\nThe text generated has two characters between first and last name', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Simulator', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'A security device no longer honors names in lists as of 12/07/21\r\n list format is ex: pauladell resident\r\nfunction: string Agent = llToLower(llKey2Name(ak));\r\nreturns: pauladell resident (ak is a captured key earlier in the script)\r\nPrior to 12/06 or maybe 12/06 there was only a single space between first and last name.', 'What were you doing when it happened?': 'Nothing. Logged in and because the returned name from llKey2Name had an additional character between first and last name, was no longer alloiwed in home.', 'What were you expecting to happen instead?': 'my name (in lower case) pauladell resident returned by llList2Key would match an entry in the list of those allowed on the parcel', 'Where': 'You are at 178.0, 231.2, 3,497.7 in Guittarez located at simhost-039266f1bb702f765.agni', } ```
sl-service-account commented 2 years ago

Maestro Linden commented at 2021-12-07T21:23:22Z

Please see BUG-231534