OpenClonk Bugtracker - OpenClonk
View Issue Details
0001777OpenClonkEngine - C4Scriptpublic2016-07-04 20:512018-01-20 14:28
ReporterFlinti 
Assigned ToZapper 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version8.1Fixed in Version8.0 
Summary0001777: The array returned by GetProperties contains a property multiple times if it's defined in the proplist and it's prototype
DescriptionGetProperties(pl) currently returns an array containing all properties of pl plus the ones defined in its prototype or its prototype's prototype (and so on).

This is probably not intended.

It has been mentioned in the forums earlier (http://forum.openclonk.org/topic_show.pl?pid=28681;hl=getproperties)
Steps To ReproduceGetProperties({Prototype={a=1}, a=1}) / see the referenced forum post
TagsNo tags attached.
Attached Files

Notes
(0006087)
Luchs   
2018-01-20 14:28   
https://github.com/openclonk/openclonk/commit/38d937fa587ecd29b58682562495880c784274c4

Issue History
2016-07-04 20:51FlintiNew Issue
2017-08-05 13:58MaikelTarget Version => 8.0
2017-08-20 12:02ZapperTarget Version8.0 => 8.1
2018-01-20 14:28LuchsAssigned To => Zapper
2018-01-20 14:28LuchsStatusnew => resolved
2018-01-20 14:28LuchsResolutionopen => fixed
2018-01-20 14:28LuchsFixed in Version => 8.0
2018-01-20 14:28LuchsNote Added: 0006087