History log of /php-src/ext/soap/tests/bugs/bug51561.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 41b2fb5d 05-May-2024 Máté Kocsis

Session extension is needed to run bug51561.phpt


# 53218b1a 27-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence()

The problem is that in the testcase, the session is started before the
parent class is loa

Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence()

The problem is that in the testcase, the session is started before the
parent class is loaded. This causes an incomplete class in the session
storage. Then in the soap code the check
`Z_OBJCE_P(tmp_soap_p) == service->soap_class.ce` fails because it is
the incomplete class. It is a silent failure.

We cannot fix this easily. But we should let the user know something is
wrong, because it leaves them confused otherwise. So emit an error to
let them know and suggest a fix.

Closes GH-12540.

show more ...