Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008843opensim[REGION] Script Functionspublic2020-12-31 01:022020-12-31 03:15
ReporterSixtusMajus 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOperating SystemOperating System Version
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008843: llParseStringKeepNulls returns a list with 1 entry although there is no data
DescriptionllParseStringKeepNulls returns a list with 1 entry although there is no data.
see steps to reproduce

Version: 0.9.2 probably also 0.9.1 but is not tested
ScriptEngine: Y probably also X but is not tested
Steps To Reproducedefault
{
    state_entry()
    {
        string lData = "";
        list lList = llParseStringKeepNulls( lData, [","], []);
                
        llSay(0, "Data='" + lData + "'");
        llSay(0, "WRONG(should return 0): llGetListLength() = " + llGetListLength(lList) );
        llSay(0, "WRONG(should return 1):(lList == []) = " + (lList == []) );
    }
    
    on_rez( integer fStartparam )
    { llResetScript(); }
}
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineOther
Script EngineYEngine
Environment.NET / Windows64
Mono Version6.x
ViewerFirestorm 6.3.9
Attached Files

- Relationships

-  Notes
(0037439)
UbitUmarov (administrator)
2020-12-31 03:15

sl result:
03:06] Object: Data=''
[03:06] Object: WRONG(should return 0): llGetListLength() = 1
[03:06] Object: WRONG(should return 1):(lList == []) = 0

0.92/Yengine
[03:11] Object: Data=''
[03:11] Object: WRONG(should return 0): llGetListLength() = 1
[03:11] Object: WRONG(should return 1):(lList == []) = 0

better review
http://wiki.secondlife.com/wiki/LlParseStringKeepNulls [^]

- Issue History
Date Modified Username Field Change
2020-12-31 01:02 SixtusMajus New Issue
2020-12-31 02:58 tampa Summary llParseStringKeepNulls returns a list mit 1 Eintrag obwohl keine Daten vorhanden sind. => llParseStringKeepNulls returns a list with 1 entry although there is no data
2020-12-31 03:15 UbitUmarov Note Added: 0037439


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker