PacketFence - BTS - PacketFence 1.6.2
View Issue Details
0000028PacketFence 1.6.2public2006-05-04 09:572006-05-05 21:36
user4 
 
normalminoralways
closedfixed 
0000028: ./bin/pfcmd violation add not workin
./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
No tags attached.
Issue History
2006-05-04 09:57user4New Issue
2006-05-04 09:58user4Note Added: 0000038
2006-05-04 10:00user4Note Added: 0000039
2006-05-05 21:36kevmcsStatusnew => closed
2006-05-05 21:36kevmcsNote Added: 0000043
2006-05-05 21:36kevmcsResolutionopen => fixed

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   
2006-05-05 21:36   
done, and checked in.