Closed markknol closed 9 years ago
If i var_dump($game1) in the generated source, the cache object seems to miss: https://gist.github.com/markknol/0ad9ddc808147e0f49fc
The code in Manager.class.php#169 is $cache->{$name} = $v;
Have you tried the latest haxe (nightly)? There have been made many fixes to SPOD in Haxe lately.
No haven't tried that, since it's used for production, I cannot afford building with nightlies.
Okay. In theory this is fixed. Feel free to reopen this when you test it.
If I try to update() when using haxe I get en unexpected error.
My example testcase is here: https://gist.github.com/markknol/faeeb1e15b561b12533b
When I do this, I get an error
Expected: database entry of Game gets updated without issues
Got:
Hotfix I changed this line at Manager line 223
Reflect.setField(cache,name,v);
to thisif (cache!=null) Reflect.setField(cache,name,v);
The database entry is updated and the error is gone, so it seems to be fixed.Questions:
I use: