PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000766PacketFenceerror-handlingpublic2009-08-11 10:042011-01-26 15:38
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeveritytweakReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version1.9.0Fixed in Version1.9.0 
Summary0000766: better error message when switches.conf has two switches with the same IP
DescriptionSteps to reproduce:

1. Put two switches with the same IP in switches.conf
2. Start PacketFence

Error message is very ugly (strict refs in hashes) and I think we should sanitize for that when parsing switches.conf.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision3fc7cd6262191e5234be05d2601978de9858b6da
Attached Files

- Relationships
related to 0000964closedobilodeau Web admin error reporting regexp is too strict 

-  Notes
(0001443)
obilodeau (reporter)
2009-12-10 18:47

parsing ini style files, my bet is that there should not be any hash refs or array refs out of that, we can validate against that
(0001514)
obilodeau (reporter)
2010-04-19 15:48

Validating in switches_conf_is_valid if mode or type is an ARRAY it means that there were two of them. Took the opportunity to show the error message on the command line so that it'll be shown by the web interface when restarting pfsetvlan from the admin panel.

- Issue History
Date Modified Username Field Change
2009-08-11 10:04 obilodeau New Issue
2009-08-19 15:55 obilodeau Status new => assigned
2009-08-19 15:55 obilodeau Assigned To => obilodeau
2009-12-10 18:47 obilodeau Note Added: 0001443
2010-03-01 12:57 obilodeau Category future => error-handling
2010-03-01 12:57 obilodeau Target Version => 1.8.8
2010-03-01 12:57 obilodeau Summary error handling: better error message when switches.conf has two switches with the same IP => better error message when switches.conf has two switches with the same IP
2010-04-19 14:35 obilodeau Relationship added related to 0000964
2010-04-19 15:48 obilodeau mtn revision => 3fc7cd6262191e5234be05d2601978de9858b6da
2010-04-19 15:48 obilodeau Note Added: 0001514
2010-04-19 15:48 obilodeau Status assigned => resolved
2010-04-19 15:48 obilodeau Fixed in Version => 1.8.8
2010-04-19 15:48 obilodeau Resolution open => fixed
2010-04-29 13:38 obilodeau Fixed in Version 1.8.8 => 1.9.0
2010-04-29 13:39 obilodeau Target Version 1.8.8 => 1.9.0
2011-01-26 15:38 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker