Development

#2630 (exception in sfOutputEscaperObjectDecorator causes fatal error)

You must first sign up to be able to contribute.

Ticket #2630 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

exception in sfOutputEscaperObjectDecorator causes fatal error

Reported by: austin Assigned to: fabien
Priority: minor Milestone: 1.0.10
Component: view Version: 1.0.9
Keywords: Cc:
Qualification: Unreviewed

Description

When I try this in a view:

foreach ($sf_data as $value) {

print $value;

}

I get the fatal error: Fatal error: Method sfOutputEscaperObjectDecorator::toString() must not throw an exception

Rather than the exception sfOutputEscaperObjectDecorator is trying to throw.

Change History

12/11/07 21:29:10 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [6469]) fixed sfOutputEscaperObjectDecorator::toString() as PHP 5.2.5 does not allow exception in toString() methods (closes #2630)

12/11/07 21:29:43 changed by fabien

  • version changed from 1.1.0 to 1.0.9.
  • milestone set to 1.0.10.

in r6468