PacketFence - BTS - PacketFence
View Issue Details
0000837PacketFencecorepublic2009-11-03 16:442015-02-13 15:26
obilodeau 
obilodeau 
highminoralways
closedopen 
 
 
0000837: improve validation of INI style config files (switches.conf, violations.conf, pf.conf, etc.)
The other day, I omitted a section header ([...]) in violations.conf and it resulted in packetfence spitting scary errors on startup.

It looks like every time an entry is doubled (ex: uplink=.. then uplink=.. in the same section since I omitted a header) the resulting structure inside packetfence is an array reference causing all sorts of problems. We should try to detect that and give a better error message.
No tags attached.
Issue History
2009-11-03 16:44obilodeauNew Issue
2009-11-03 16:44obilodeauStatusnew => assigned
2009-11-03 16:44obilodeauAssigned To => obilodeau
2009-11-03 16:45obilodeauPrioritynormal => high
2011-01-18 12:02obilodeauTarget Version => 2.1.0
2011-03-03 15:15obilodeauTarget Version2.1.0 => +1
2011-03-03 15:18obilodeauTarget Version+1 => +2
2012-02-29 10:58obilodeauCategoryfuture => core
2015-02-13 15:26lmunroNote Added: 0003704
2015-02-13 15:26lmunroStatusassigned => closed

Notes
(0003704)
lmunro   
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.