Bug #7445
closedpfSenseHelpers.js service naming restrictions plus lack of error handling
100%
Description
Code in pfSenseHelpers.js [1] introduced probably in this commit [2]
[1] https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/js/pfSenseHelpers.js#L658-L659
[2] https://github.com/pfsense/pfsense/commit/29fda3d3cea4bd800568f82a1203db8cd13a82e2
in effect restricts services names so that they cannot contain a hyphen:
This breaks the functionality in Status > Services and Services Status widget for (at least) the following packages:
- pfSense-pkg-net-snmp
- pfSense-pkg-squid
- pfSense-pkg-FTP_Client_Proxy
See https://github.com/pfsense/FreeBSD-ports/pull/336 for discussion.
Besides the undocumented restriction hidden in totally unexpected places, the AJAX stuff there lacks any error handling, so people are just scratching their heads about WTH a dead simple button does not produce any action.
Updated by Anonymous over 7 years ago
- Status changed from New to Feedback
Now properly handles service names that contain hyphens
Updated by Anonymous over 7 years ago
- % Done changed from 0 to 100
Applied in changeset 21a8edd7836baf1e4ee2f347fdc1bafb4d96c9d9.