View Issue Details

IDProjectCategoryView StatusLast Update
0000019opensim-SCBugpublic2019-07-23 15:08
Reporteronefang Assigned Toonefang  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.9.0.1 RC0 
Target Version0.9.0.1 RC0Fixed in Version0.9.0.1 RC0 
Summary0000019: Int and string list items no longer compare correctly.
DescriptionThe gotRLV() error I tracked to a difference in how list items are compared if they are different types. That'll be a pain.
Steps To Reproduce

default
{
    state_entry()
    {
        list t = [0, 1];
        llSay(0, " " + (string)llListFindList(t, ["1"]));
    }
}

OpenSim 0.8 - 1
OpenSim 0.9 - -1
SL - -1
Tagsscript engine

Relationships

child of 0000035 closedonefang Casting. 

Activities

onefang

onefang

2019-06-17 06:01

administrator   ~0000036

Commit 4707c488282732b56bc7121544960d3bcb877e20 by Melanie Thielker

LSL llListFindList fix: check types as well as content. Items must be same type to be found.

Melanie Thielker

Is what changed things.
onefang

onefang

2019-06-18 01:53

administrator   ~0000039

The question is, do I want to go back, or leave it as is to be the same as SL?
onefang

onefang

2019-07-23 14:29

administrator   ~0000095

Last edited: 2019-07-23 14:31

As mentioned the parent bug - 'Lua will implicitly cast "numbers" to strings and strings to "numbers" when they are mixed.' and "Going forward we'll want to use the Lua friendly way."

So the answer is - YES I want to go back.

onefang

onefang

2019-07-23 15:08

administrator   ~0000096

Reverted 4707c488282732b56bc7121544960d3bcb877e20 and commented.

Issue History

Date Modified Username Field Change
2019-05-19 07:53 onefang New Issue
2019-05-19 07:53 onefang Status new => assigned
2019-05-19 07:53 onefang Assigned To => onefang
2019-05-19 07:53 onefang Tag Attached: script engine
2019-05-19 07:54 onefang Summary Int and string list itmes no longer compare correctly. => Int and string list items no longer compare correctly.
2019-05-19 08:09 onefang Category TODO => Bug
2019-06-01 16:40 onefang Priority low => normal
2019-06-06 09:44 onefang Priority normal => high
2019-06-08 07:39 onefang Relationship added child of 0000035
2019-06-17 04:44 onefang Steps to Reproduce Updated
2019-06-17 04:48 onefang Steps to Reproduce Updated
2019-06-17 06:01 onefang Note Added: 0000036
2019-06-18 01:53 onefang Status assigned => confirmed
2019-06-18 01:53 onefang Note Added: 0000039
2019-07-23 14:29 onefang Note Added: 0000095
2019-07-23 14:31 onefang Note Edited: 0000095
2019-07-23 15:08 onefang Status confirmed => resolved
2019-07-23 15:08 onefang Resolution open => fixed
2019-07-23 15:08 onefang Fixed in Version => 0.9.0.1 RC0
2019-07-23 15:08 onefang Note Added: 0000096