PacketFence - BTS - PacketFence
View Issue Details
0001231PacketFencecorepublic2011-07-04 20:462011-10-24 20:24
obilodeau 
obilodeau 
highminorsometimes
closedfixed 
 
3.0.03.0.0 
f962d04cf33709f183fed5d23cc1a04b826430b0
0001231: Custom VLAN assignments relying on connection_type will fail on "unknown" nodes
After a migration, it is possible for vlan-reassignment to be triggered with an Unknown connection_type.

Unknown vlan constant is a string instead of a numeric constant like all the other connection type constants. So when testing against connection_type in custom code it will issue warnings which ends-up in the web node edit dialog because it matches the line xxx\. regexp.

fix: make the unknown constant numeric:
use constant UNKNOWN => 0b00000000;
No tags attached.
Issue History
2011-07-04 20:46obilodeauNew Issue
2011-07-05 10:04obilodeaumtn revision => f962d04cf33709f183fed5d23cc1a04b826430b0
2011-07-05 10:04obilodeauNote Added: 0002101
2011-07-05 10:04obilodeauStatusnew => resolved
2011-07-05 10:04obilodeauFixed in Version => +1
2011-07-05 10:04obilodeauResolutionopen => fixed
2011-07-05 10:04obilodeauAssigned To => obilodeau
2011-09-21 22:20obilodeauFixed in Version+1 => 3.0.0
2011-09-21 22:20obilodeauNote Added: 0002274
2011-09-21 22:21obilodeauStatusresolved => closed
2011-10-24 20:24obilodeauTarget Version+1 => 3.0.0

Notes
(0002101)
obilodeau   
2011-07-05 10:04   
fixed in stable branch 2.2
(0002274)
obilodeau   
2011-09-21 22:20   
fix released in 3.0