secondlife / jira-archive

2 stars 0 forks source link

[BUG-231555] LLSD Login Response contains empty arrays #9010

Closed sl-service-account closed 8 months ago

sl-service-account commented 2 years ago

What just happened?

Poking around as ways on Agni. Looking for fun things doodles, finding bugs.

What were you doing when it happened?

Attempting to login via LLSD capability rather than XML-RPC method. I observed that all values that should have contained an array of values were populated with an empty array.

What were you expecting to happen instead?

I was expecting the same values in the response that I get when logging in via XMLRPC method. Properties such as "classified_categories", "event_categories", "global-textures", and "ui-config" all returned an empty LLSD array rather than the arrays returned via XMLRPC method.

Other information

Not a show-stopper, easily worked around by using XMLRPC login method.

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-231555 | | Summary | LLSD Login Response contains empty arrays | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Expected Behavior | | Reporter | Cinder Roxley (cinder.roxley) | | Created at | 2021-12-13T00:22:48Z | | Updated at | 2021-12-14T18:24:36Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2021-12-13T10:50:33.590-0600', "Is there anything you'd like to add?": 'Not a show-stopper, easily worked around by using XMLRPC login method.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Simulator', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'Poking around as ways on Agni. Looking for fun things doodles, finding bugs.', 'What were you doing when it happened?': 'Attempting to login via LLSD capability rather than XML-RPC method. I observed that all values that should have contained an array of values was populated with an empty array.', 'What were you expecting to happen instead?': 'I was expecting the same values in the response that I get when logging in via XMLRPC method. Properties such as "classified_categories", "event_categories", "global-textures", and "ui-config" all returned an empty LLSD array rather than the arrays returned via XMLRPC method.', 'Where': "There is a fifth dimension beyond that which is known to man.\r\nIt is a dimension as vast as space and as timeless as infinity.\r\nIt is the middle ground between light and shadow,\r\nbetween science and superstition,\r\nand it lies between the pit of man's fears and the summit of his knowledge.\r\nThis is the dimension of imagination,\r\nA dimension where furries and goreans live in harmony.\r\nIt is an area which we call . . . the Twilight Zone.", } ```
sl-service-account commented 2 years ago

Maestro Linden commented at 2021-12-13T16:50:34Z

Hi [~cinder.roxley], are you noticing any ill effects from any viewers when they receive an empty array rather than no key at all?

sl-service-account commented 2 years ago

Cinder Roxley commented at 2021-12-13T16:57:19Z

No, none of the viewers or bots I develop use this login API. As a library developer, I can see it being a problem if someone were to develop a client that used these properties.

sl-service-account commented 2 years ago

Maestro Linden commented at 2021-12-14T18:24:36Z

Calling this expected behavior for now, as the empty arrays shouldn't be populated, and including them doesn't appear to be causing any issues for viewers.