Anonymous | Login | 2024-11-24 22:13 EST |
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 | |||
0001239 | PacketFence | core | public | 2011-07-25 09:39 | 2011-10-24 20:24 | |||
Reporter | fgaudreault | |||||||
Assigned To | obilodeau | |||||||
Priority | high | Severity | major | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | devel | |||||||
Target Version | 3.0.0 | Fixed in Version | 3.0.0 | |||||
Summary | 0001239: PacketFence won't start if no inline interface | |||||||
Description | When no inline interface is configured, PacketFence will not start and throw an undef error : Can't call method "tag" on an undefined value at /usr/local/pf/lib/pf/services/apache.pm line 99 (0000002) (F) You used the syntax of a method call, but the slot filled by the object reference or package name contains an undefined value. Something like this will reproduce the error: $BADREF = undef; process $BADREF 1,2,3; $BADREF->process(1,2,3); Uncaught exception from user code: Can't call method "tag" on an undefined value at /usr/local/pf/lib/pf/services/apache.pm line 99. at /usr/local/pf/lib/pf/services/apache.pm line 99 pf::services::apache::generate_httpd_conf() called at /usr/local/pf/lib/pf/services.pm line 119 pf::services::service_ctl('httpd', 'start') called at /usr/local/pf/bin/pfcmd line 1295 main::service() called at /usr/local/pf/bin/pfcmd line 1236 main::service() called at /usr/local/pf/bin/pfcmd line 198 main::__ANON__() called at /usr/local/pf/bin/pfcmd line 215 | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | ||||||||
fixed in mtn revision | 39961099cbc39f96cc7ea0974ae635fcdc589814 | |||||||
Attached Files | ||||||||
Notes | |
(0002130) maikel (reporter) 2011-08-12 14:41 |
iptables also has a bug to startup: Use of uninitialized value in chomp at /usr/local/pf/lib/pf/iptables.pm line 87 (0000001) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Use of uninitialized value in substitution iterator at /usr/local/pf/lib/pf/util.pm line 637, <$template_fh> line 68 (0000001) Use of uninitialized value in substitution iterator at |
(0002138) obilodeau (reporter) 2011-08-16 15:59 |
first portion of the report was fixed |
(0002139) obilodeau (reporter) 2011-08-16 16:29 |
both issue in this ticket were fixed as of revno: 39961099cbc39f96cc7ea0974ae635fcdc589814 |
(0002250) obilodeau (reporter) 2011-09-21 22:15 |
fix released in 3.0 |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-25 09:39 | fgaudreault | New Issue | |
2011-08-01 16:31 | obilodeau | Priority | normal => high |
2011-08-01 16:31 | obilodeau | Target Version | => +1 |
2011-08-12 14:41 | maikel | Note Added: 0002130 | |
2011-08-12 16:46 | obilodeau | Status | new => assigned |
2011-08-12 16:46 | obilodeau | Assigned To | => obilodeau |
2011-08-16 15:59 | obilodeau | Relationship added | related to 0001227 |
2011-08-16 15:59 | obilodeau | Note Added: 0002138 | |
2011-08-16 16:29 | obilodeau | mtn revision | => 39961099cbc39f96cc7ea0974ae635fcdc589814 |
2011-08-16 16:29 | obilodeau | Note Added: 0002139 | |
2011-08-16 16:29 | obilodeau | Status | assigned => resolved |
2011-08-16 16:29 | obilodeau | Fixed in Version | => trunk |
2011-08-16 16:29 | obilodeau | Resolution | open => fixed |
2011-09-21 22:07 | obilodeau | Fixed in Version | trunk => 3.0.0 |
2011-09-21 22:15 | obilodeau | Note Added: 0002250 | |
2011-09-21 22:16 | obilodeau | Status | resolved => closed |
2011-10-24 20:24 | obilodeau | Target Version | +1 => 3.0.0 |
Copyright © 2000 - 2012 MantisBT Group |