PacketFence - BTS - PacketFence | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0000900 | PacketFence | error-handling | public | 2010-01-28 13:07 | 2015-02-13 15:26 | |||||
| Reporter | obilodeau | |||||||||
| Assigned To | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | open | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| fixed in git revision | ||||||||||
| fixed in mtn revision | ||||||||||
| Summary | 0000900: we should detect if we are enabled everytime it's relevant for Net::Appliance::Session | |||||||||
| Description | right now, there is privilege_mode code in comments instead we should use in_privileged_mode() like I did in ISR_1800.pm:
# are we in enabled mode?
if (!$session->in_privileged_mode()) {
# let's try to enable
if (!$session->enable($this->{_cliEnablePwd})) {
$logger->error("Cannot get into privileged mode on ".$this->{'ip'}.
". Are you sure you provided enable password in configuration?");
$session->close();
return %macBridgePortHash;
}
}
| |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-01-28 13:07 | obilodeau | New Issue | ||||||||
| 2010-01-28 13:07 | obilodeau | Status | new => assigned | |||||||
| 2010-01-28 13:07 | obilodeau | Assigned To | => obilodeau | |||||||
| 2010-04-15 17:43 | obilodeau | Project | PacketFence 1.9 => PacketFence | |||||||
| 2011-01-18 11:43 | obilodeau | Target Version | => trunk | |||||||
| 2012-01-24 15:29 | obilodeau | Note Added: 0002546 | ||||||||
| 2012-01-24 15:32 | obilodeau | Note Edited: 0002546 | ||||||||
| 2012-01-24 15:32 | obilodeau | Relationship added | related to 0001370 | |||||||
| 2012-01-25 14:52 | obilodeau | Note Added: 0002550 | ||||||||
| 2012-10-19 14:17 | fgaudreault | Assigned To | obilodeau => | |||||||
| 2012-10-19 14:17 | fgaudreault | Target Version | devel => general | |||||||
| 2015-02-13 15:26 | lmunro | Note Added: 0003689 | ||||||||
| 2015-02-13 15:26 | lmunro | Status | assigned => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||