Bug #13576

AOP is not initialized during __wakeup()

Added by Karsten Dambekalns over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
AOP
Start date:
2011-03-03
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Doctrine uses the unserialize trick combined with the prototype pattern, i.e. they store the unserialized object and clone it when needed again. During that clone, upon calling __clone(), the following notice is causing an exception:

Notice: Undefined index: __clone in ...Blog.php

Backtrace attached as PDF.


Files

FLOW3_Exception.pdf (92.1 KB) FLOW3_Exception.pdf Karsten Dambekalns, 2011-03-03 11:39
F3_Blog_Domain_Model_Blog.php (5.68 KB) F3_Blog_Domain_Model_Blog.php Karsten Dambekalns, 2011-03-03 13:47
#1

Updated by Robert Lemke over 10 years ago

  • Status changed from New to Accepted
#3

Updated by Robert Lemke over 10 years ago

  • Status changed from Accepted to Resolved
#4

Updated by Robert Lemke over 10 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF