Ticket #661 (closed Bug: fixed)
ORM Throws exception from __destruct
| Reported by: | Nodren | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Libraries:ORM | Version: | SVN HEAD |
| Keywords: | Cc: |
Description
from looking at ORM code it looks like the problem is in there. Basicly, if an exception is thrown from the destruct statement, a user gets the incredibly unhelpful error message: Fatal error: Exception thrown without a stack frame in Unknown on line 0.
i found this bug on php.net http://bugs.php.net/bug.php?id=33598 where they say this is intended, and should be documented(aka not a bug) so any chance we can make sure when ORM is destructed it doesnt throw an exception, maybee raise a regular old error?
Change History
Note: See
TracTickets for help on using
tickets.
