PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001560PacketFenceweb adminpublic2012-09-29 15:512015-02-13 15:42
Reportercandlerb 
Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version3.5.1 
Target VersionFixed in Version 
Summary0001560: When adding a network, "pfcmd grammar test failed" if network omitted
DescriptionAt one point when adding a network through the GUI, I got the following response:

Error: Problems executing 'PFCMD networkconfig add type="vlan-registration",
named="enabled", dhcpd="enabled", netmask="255.255.255.0",
gateway="10.2.255.0", next_hop="",
domain-name="vlan-registration.example.com", dns="192.0.2.14",
dhcp_start="10.2.255.10", dhcp_end="10.2.255.250",
dhcp_default_lease_time="30", dhcp_max_lease_time="30"'

Looking back over this, I think what must have happened is that I clicked the "Add network" button while the Network field was empty. At least, I can reproduce the error this way.

I think it would be better for the GUI to validate the form submission and give a more informative error if the network field is blank.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0003125)
fgaudreault (viewer)
2012-10-19 11:09

This might disappear with the new GUI (better validations, etc). Will target as "general" queuing.
(0003823)
lmunro (administrator)
2015-02-13 15:42

These bugs have been sitting untouched since 2012.
Closing them and possibly reopening in github tracker where relevant.

- Issue History
Date Modified Username Field Change
2012-09-29 15:51 candlerb New Issue
2012-10-19 11:08 fgaudreault Category error-handling => web admin
2012-10-19 11:08 fgaudreault Target Version => general
2012-10-19 11:09 fgaudreault Note Added: 0003125
2015-02-13 15:42 lmunro Note Added: 0003823
2015-02-13 15:42 lmunro Status new => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker