
| Anonymous | Login | 2025-10-27 04:16 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| 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 | |||||||
| 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;
}
}
| |||||||
| Tags | No tags attached. | |||||||
| fixed in git revision | ||||||||
| fixed in mtn revision | ||||||||
| Attached Files | ||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0002546) obilodeau (reporter) 2012-01-24 15:29 edited on: 2012-01-24 15:32 |
apparently the above code doesn't work see 0001370 |
|
(0002550) obilodeau (reporter) 2012-01-25 14:52 |
when re-implemented properly don't forget to remove notice that was added in the Admin guide during the 0001370 work-around |
|
(0003689) lmunro (administrator) 2015-02-13 15:26 |
Old issues. Most are not relevant to PF 4 and up. Let's reopen the ones that matter when we move to github. |
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 |
| Copyright © 2000 - 2012 MantisBT Group |