Closed issuesbot closed 11 years ago
[comment from franco.p...@gmail.com, published at 03/04/2012, 14:28:44]
[comment from cl3...@gmail.com, published at 07/04/2012, 10:10:05] Attached is a much simpler test that shows the issue with Reflect, without using SPOD. I get : uncaught exception: Undefined property: Obj::$value (errno: 8) in /home/clemos/public_html/test/out/lib/Test.class.php at line #9Undefined property: Obj::$value
in file: /home/clemos/public_html/test/out/lib/Test.class.php line 9
[comment from franco.p...@gmail.com, published at 09/04/2012, 02:49:49] This issue was closed by revision 1836745f4d5c6939ca00e99f3e2cf0a991f05658.
[comment from franco.p...@gmail.com, published at 09/04/2012, 02:52:32] I've been able to test the second sample but not the SPOD sample; please let me know if it works.
[comment from cl3...@gmail.com, published at 30/04/2012, 17:26:24] Sorry I forgot to confirm: it works, thanks :)
[Google Issue #726 : https://code.google.com/p/haxe/issues/detail?id=726] by cl3...@gmail.com, at 02/04/2012, 19:01:44 Define a SPOD class with a lazy variable like this:
Then the second time you get an object and try to access its lazy field, PHP will throw an exception like:
Undefined property: SomeObject::$lazy (errno: 8) in SomeObject.php at line xx
This is the problematic line in the PHP source :
if($this->links === null) {
This time again, the bug seems related to sys.db.Manager.getFromCache, especially the way it deletes all fields before populating them with updated values.
But it could be related to the PHP target, as IMHO this "undefined property" shouldn't raise an Exception.
Regards,