Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026540RunnerHTML5Public2017-05-17 09:322017-07-26 12:22
ReporterStewart Bishop 
Assigned ToMike Dailly 
PriorityLowSeverityD - MinorReproducibility100%
StatusClosedResolutionFixed 
PlatformOSOS 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 Version
2.x Runtime Version2.0.6.96
2.x Runtime Version Verified In2.1.0.121
Attached Files? file icon ds_map_replace.yyz [^] (13,051 bytes) 2017-05-17 09:32

- Relationships

-  Notes
(0053174)
Mike Dailly (Manager)
2017-05-17 19:32

fixed internally - warning removed so it's in line with windows.
(0054583)
Sam Cumming (Administrator)
2017-07-26 12:22

Verified > rt 2.1.0.121 - Closing.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker