#45155 [Com]: Constructors not called when using classmap option in SoapClient
| From: | grzegorz dot drozd at esky dot pl | Date: | Thu, 29 Oct 2009 14:20:32 +0000 |
| Subject: | #45155 [Com]: Constructors not called when using classmap option in SoapClient | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144076@lists.php.net to get a copy of this message | ||
ID: 45155
Comment by: grzegorz dot drozd at esky dot pl
Reported By: david at globulebleu dot com
Status: Open
Bug Type: SOAP related
Operating System: *
PHP Version: 5.2.6
New Comment:
__wakeup is not called before deserialization from session (if you
store object in session of course). Only __set is called when setting
properties.
Previous Comments:
------------------------------------------------------------------------
[2009-07-28 13:53:51] bate@php.net
changed status because this bug still exists and is reproduced
------------------------------------------------------------------------
[2009-06-22 13:20:31] bate@php.net
Hi Jani,
i strumbled over this issue and have the same bug here.
tested with latest 5.2snap. Results in a not called constructor or
other magic function.
the __destructor will be called but this is too late for handling
special stuff here.
------------------------------------------------------------------------
[2009-05-06 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-04-28 18:40:52] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-02-03 09:44:08] r dot swets at gmail dot com
i can imagine that instead of using the constructor, the __wakeup
method is called.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45155
--
Edit this bug report at http://bugs.php.net/?id=45155&edit=1