View Issue Details

IDProjectCategoryView StatusLast Update
0026540RunnerHTML5Public2017-07-26 12:22
ReporterStewart BishopAssigned ToMike Dailly 
PriorityLowSeverityD - MinorReproducibility100%
Status ClosedResolutionFixed 
Product Version 
Target VersionFixed in Version 
Summary0026540: HTML5: False positive error message in HTML5 when using ds_map_replace on a non-existing key
DescriptionVery minor--false positive error message in HTML5. When using ds_map_replace on a non-existing key, the key is created and assigned a value as documented.

In HTML5, the Debug Console outputs the following non-error:
"Error: Key(data) NOT present in ds_map[0], you must add a key before replacing it."

In the attached example, you can see that the code works, so the error message is wrong.
Steps To Reproduce1) Import project
2) Run it on HTML5
3) Open debug console
4) See the error is there even though the code worked
1.4 Found In
2.x Runtime Found In2.0.6.96
2.x Runtime Verified In2.1.0.121

Activities

Stewart Bishop

2017-05-17 09:32

Adminstrator  

ds_map_replace.yyz (13,051 bytes)

Mike Dailly

2017-05-17 19:32

Manager   ~0053174

fixed internally - warning removed so it's in line with windows.

Sam Cumming

2017-07-26 12:22

Adminstrator   ~0054583

Verified > rt 2.1.0.121 - Closing.