Development

#4479 ([PATCH] sfPearRestPlugin invalid error reporting)

You must first sign up to be able to contribute.

Ticket #4479 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[PATCH] sfPearRestPlugin invalid error reporting

Reported by: jamiel Assigned to: fabien
Priority: minor Milestone: 1.1.3
Component: other Version: 1.1.2
Keywords: sfPearRestPlugin Cc:
Qualification: Unreviewed

Description

Many plugins are failing because of invalid version dependancies or because they have not been setup properly.

The PEAR error is not being replaced because it is not detected on line 92 of sfPearRestPlugin and results in:

{{ Fatal error: Cannot use object of type PEAR_Error as array in /usr/share/php5/symfony/plugin/sfPearRestPlugin.class.php on line 92 }}

The PEAR error should be detected and sent to output so errors can be raised correctly to plugin owners. (See #4256, #4450)

Patch attached.

Attachments

sfPearRestPlugin.diff (0.6 kB) - added by jamiel on 09/24/08 12:00:28.

Change History

09/24/08 12:00:28 changed by jamiel

  • attachment sfPearRestPlugin.diff added.

09/24/08 16:27:54 changed by fabien

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

(In [11764]) [1.1, 1.2] fixed sfPearRestPlugin invalid error reporting (closes #4479, #4256, #4450)

09/24/08 16:28:48 changed by fabien

  • milestone set to 1.1.3.

Thanks jamiel for the patch.