Modify ↓
Opened 21 months ago
Closed 21 months ago
#775 closed defect (fixed)
ScpTask: mis-leading error message if 'host' attribute is not set
| Reported by: | pmartin | Owned by: | mrook |
|---|---|---|---|
| Priority: | low | Milestone: | 2.4.8 |
| Component: | phing-tasks-ext | Version: | 2.4.7.1 |
| Keywords: | Cc: |
Description
For the ScpTask, when not setting either host or username, the error message is :
Attribute 'hostname' and 'username' must be set
This is mis-leading, as the attributes names are host and username, with their corresponding setHost() and setUsername() -- there is no setHostname() method.
Attached is a patch (against trunk) that fixes this error message, so it reflects the real name of the expected attribute :
Attribute 'host' and 'username' must be set
Attachments (1)
Change History (3)
Changed 21 months ago by pmartin
comment:1 Changed 21 months ago by mrook
- Milestone changed from TBD to 2.4.8
- Status changed from new to assigned
comment:2 Changed 21 months ago by mrook
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.

Fixes the error message that's thrown when 'host' attribute is not set