PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001358PacketFenceaddonspublic2012-01-05 11:302012-02-28 14:31
Reportermaikel 
Assigned Toobilodeau 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.1.0 
Target Version3.2.0Fixed in Version3.2.0 
Summary0001358: web/custom.pm
DescriptionCode 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';
TagsNo tags attached.
fixed in git revision
fixed in mtn revisionf785f7cfa0dce885ddf6c05c45d0305aed5bc52f
Attached Files

- Relationships

-  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
Powered by Mantis Bugtracker