
| Anonymous | Login | 2025-10-27 00:22 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 | |||
| 0001358 | PacketFence | addons | public | 2012-01-05 11:30 | 2012-02-28 14:31 | |||
| Reporter | maikel | |||||||
| Assigned To | obilodeau | |||||||
| Priority | high | Severity | crash | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.1.0 | |||||||
| Target Version | 3.2.0 | Fixed in Version | 3.2.0 | |||||
| Summary | 0001358: web/custom.pm | |||||||
| Description | Code example to redefine functions is bit offset due to perl strict mode: $pf::web::guest::EMAIL_CC = "helpdesk@initech.com"; will fail: perl /usr/local/pf/lib/pf/web/captiveportal_modperl_require.pl Possible unintended interpolation of @initech in string at /usr/local/pf/lib/pf/web/custom.pm line 85, <DATA> line 522 (0000001) (W ambiguous) You said something like `@foo' in a double-quoted string but there was no array @foo in scope at the time. If you wanted a literal @foo, then write it as \@foo; otherwise find out what happened to the array you apparently lost track of. single quoted it does work: $pf::web::guest::EMAIL_CC = 'helpdesk@initech.com'; | |||||||
| Tags | No tags attached. | |||||||
| fixed in git revision | ||||||||
| fixed in mtn revision | f785f7cfa0dce885ddf6c05c45d0305aed5bc52f | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0002513) obilodeau (reporter) 2012-01-05 15:07 |
good catch! |
|
(0002520) obilodeau (reporter) 2012-01-09 12:56 |
fixed in trunk |
|
(0002589) obilodeau (reporter) 2012-02-28 14:31 |
Fixed in recently released 3.2.0. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-01-05 11:30 | maikel | New Issue | |
| 2012-01-05 15:06 | obilodeau | Status | new => assigned |
| 2012-01-05 15:06 | obilodeau | Assigned To | => obilodeau |
| 2012-01-05 15:07 | obilodeau | Note Added: 0002513 | |
| 2012-01-05 15:07 | obilodeau | Priority | normal => high |
| 2012-01-05 15:07 | obilodeau | Product Version | trunk => 3.1.0 |
| 2012-01-05 15:07 | obilodeau | Fixed in Version | => +1 |
| 2012-01-09 12:56 | obilodeau | mtn revision | => f785f7cfa0dce885ddf6c05c45d0305aed5bc52f |
| 2012-01-09 12:56 | obilodeau | Note Added: 0002520 | |
| 2012-01-09 12:56 | obilodeau | Status | assigned => resolved |
| 2012-01-09 12:56 | obilodeau | Fixed in Version | +1 => trunk |
| 2012-01-09 12:56 | obilodeau | Resolution | open => fixed |
| 2012-02-28 14:22 | obilodeau | Target Version | => 3.2.0 |
| 2012-02-28 14:22 | obilodeau | Fixed in Version | trunk => 3.2.0 |
| 2012-02-28 14:31 | obilodeau | Note Added: 0002589 | |
| 2012-02-28 14:31 | obilodeau | Status | resolved => closed |
| Copyright © 2000 - 2012 MantisBT Group |