Modify

Ticket #529 (closed defect: fixed)

Opened 18 months ago

Last modified 17 months ago

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

comment:1 Changed 18 months ago by travis@…

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? :-)

comment:2 Changed 18 months ago by travis@…

FYI: This error has been fixed and deployed to version 0.6.3 and is available on the new pear.domain51.com.

comment:3 Changed 17 months ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.