PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000028PacketFence 1.6.2public2006-05-04 09:572006-05-05 21:36
Reporteruser4 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0000028: ./bin/pfcmd violation add not workin
Description./bin/pfcmd 'violation add vid=2001566,mac=00:0c:29:b0:27:32'
Odd number of elements in hash assignment at /usr/local/pf/lib/pf/violation.pm line 185.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails at /usr/local/pf/lib/pf/violation.pm line 230
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000038)
user4
2006-05-04 09:58

Reminder sent to: user4, dlaporte, kevmcs

(0000039)
user4
2006-05-04 10:00

Can be fixed with the following diff to bin/pfcmd

598c598
< if ($function eq "violation" && $option eq "add"){
---
> if ($function eq "violation_add"){
(0000043)
kevmcs (developer)
2006-05-05 21:36

done, and checked in.

- Issue History
Date Modified Username Field Change
2006-05-04 09:57 user4 New Issue
2006-05-04 09:58 user4 Note Added: 0000038
2006-05-04 10:00 user4 Note Added: 0000039
2006-05-05 21:36 kevmcs Status new => closed
2006-05-05 21:36 kevmcs Note Added: 0000043
2006-05-05 21:36 kevmcs Resolution open => fixed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker