You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2024. It is now read-only.
Hi,
the function in the doctrineLoad() doesn't exist, when loading a object by the proxy factory from the couchdb.
Attempted to call an undefined method named "__doctrineLoad__" of class "CouchDBProxies\__CG__\__CLASS__
After removing the doctrineLoad from the CouchDB DocumentManager, it works:
from
/**
* Initialize an object that is a lazy load proxy, or do nothing.
*
* @param object $obj
*/
public function initializeObject($obj)
{
if ($obj instanceof PersistentCollection) {
$obj->initialize();
} else if ($obj instanceof Proxy\Proxy) {
$obj->__doctrineLoad__();
}
}
to
/**
* Initialize an object that is a lazy load proxy, or do nothing.
*
* @param object $obj
*/
public function initializeObject($obj)
{
if ($obj instanceof PersistentCollection) {
$obj->initialize();
}
}
Is there a need for this function?
The text was updated successfully, but these errors were encountered:
Hi,
the function in the doctrineLoad() doesn't exist, when loading a object by the proxy factory from the couchdb.
Attempted to call an undefined method named "__doctrineLoad__" of class "CouchDBProxies\__CG__\__CLASS__
After removing the doctrineLoad from the CouchDB DocumentManager, it works:
from
to
Is there a need for this function?
The text was updated successfully, but these errors were encountered: