PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001063PacketFenceerror-handlingpublic2010-09-08 14:002011-01-26 15:38
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version1.9.1Fixed in Version1.9.1 
Summary0001063: warnings in logs for pf::vlan line 100
DescriptionI think it's caused when we print the category name for a node if it's category is empty (meaning $category is undef).

I'm guessing very easy to fix.
TagsNo tags attached.
fixed in git revision
fixed in mtn revisionb33aca6dd8c5188ffa51b23b8d87c7985312b126
Attached Files

- Relationships

-  Notes
(0001641)
obilodeau (reporter)
2010-09-08 14:02

thinking about it, maybe the database schema hasn't been updated where I saw that.. I'll need to doubecheck.
(0001666)
obilodeau (reporter)
2010-09-15 14:49
edited on: 2010-09-15 14:50

forget my above comment, it is a legitimate problem

(0001667)
obilodeau (reporter)
2010-09-15 14:50

Instead of testing for undef on each access, I decided to modify the SQL so that category would be '' instead of undef. This is more consistent with the rest of pf::node's fields.
(0001668)
obilodeau (reporter)
2010-09-15 15:01

I validated that this change had no adverse effect on node_modify's operations.
(0001669)
obilodeau (reporter)
2010-09-15 15:04

problem fixed in 1.9 branch

- Issue History
Date Modified Username Field Change
2010-09-08 14:00 obilodeau New Issue
2010-09-08 14:02 obilodeau Note Added: 0001641
2010-09-15 14:24 obilodeau Reproducibility have not tried => always
2010-09-15 14:24 obilodeau Status new => assigned
2010-09-15 14:49 obilodeau Note Added: 0001666
2010-09-15 14:50 obilodeau Note Added: 0001667
2010-09-15 14:50 obilodeau Note Edited: 0001666
2010-09-15 15:01 obilodeau Note Added: 0001668
2010-09-15 15:04 obilodeau mtn revision => b33aca6dd8c5188ffa51b23b8d87c7985312b126
2010-09-15 15:04 obilodeau Note Added: 0001669
2010-09-15 15:04 obilodeau Status assigned => resolved
2010-09-15 15:04 obilodeau Fixed in Version => 1.9.1
2010-09-15 15:04 obilodeau Resolution open => fixed
2010-09-15 15:04 obilodeau Assigned To => obilodeau
2011-01-26 15:38 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker