Modify ↓
Ticket #529 (closed defect: fixed)
d51pearpkg2: setOptions() call does not check return value
| Reported by: | Christian Weiske <cweiske@…> | Owned by: | mrook |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.3 |
| Component: | phing-tasks-ext | Version: | devel |
| Keywords: | Cc: |
Description
When i.e. specifying a non-existant <d51pearpkg2 dir="./something/strange/"> directory, the setOption() call in the d51 pear package 2 task fails silently without anyone noticing it.
You will only see
"Fatal error: Class 'PEAR_PackageFileManager_file' not found"
and wonder where the heck it comes from.
(I know d51pearpkg2 isn't in phing yet, but it should be since it's much better than the current pear tasks)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Ok, that's kinda funny. I just came across this bug looking for a solution to the problem. Guess I need to fix it, huh? :-)