PacketFence - BTS - PacketFence
View Issue Details
0001560PacketFenceweb adminpublic2012-09-29 15:512015-02-13 15:42
candlerb 
 
normaltweakalways
closedopen 
3.5.1 
 
0001560: When adding a network, "pfcmd grammar test failed" if network omitted
At 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.
No tags attached.
Issue History
2012-09-29 15:51candlerbNew Issue
2012-10-19 11:08fgaudreaultCategoryerror-handling => web admin
2012-10-19 11:08fgaudreaultTarget Version => general
2012-10-19 11:09fgaudreaultNote Added: 0003125
2015-02-13 15:42lmunroNote Added: 0003823
2015-02-13 15:42lmunroStatusnew => closed

Notes
(0003125)
fgaudreault   
2012-10-19 11:09   
This might disappear with the new GUI (better validations, etc). Will target as "general" queuing.
(0003823)
lmunro   
2015-02-13 15:42   
These bugs have been sitting untouched since 2012.
Closing them and possibly reopening in github tracker where relevant.