Ticket #661 (closed Bug: fixed)

Opened 2 months ago

Last modified 4 weeks ago

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

Changed 2 months ago by Shadowhand

  • priority changed from critical to minor
  • status changed from new to assigned

Changed 2 months ago by Shadowhand

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone changed from 2.2 to 2.1.3

Fixed in r2975, merged in r2976.

Changed 4 weeks ago by anonymous

  • milestone deleted

Milestone 2.1.3 deleted

Note: See TracTickets for help on using tickets.