Bug #3308
Error deleting firewall service object
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-firewall-base | |||
Target version: | v6.7 | |||
Security class: | Resolution: | |||
Affected version: | v6.7 | NEEDINFO: | No |
Description
Steps to reproduce:
create a service fw object
delete it
NethGUI will show an error after about 5 seconds:
Nethgui: 404 - Not found 1352715526
Thanks to Jim for reporting: http://community.nethserver.org/t/bug-when-deleting-a-service-in-firewall-objects-module/2103
Associated revisions
Firewall objects: avoid error on service delete. Refs #3308
Firewall rules: clean inline service creation. Refs #3308
History
#1 Updated by Filippo Carletti almost 6 years ago
- Affected version set to v6.7
#2 Updated by Filippo Carletti almost 6 years ago
- Priority changed from Normal to Low
The bug seems to be cosmetic, the values in the configuration database and the firewall rules are correct.
#3 Updated by Giacomo Sanchietti over 5 years ago
- Category set to nethserver-firewall-base
#4 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from NEW to TRIAGED
- Target version set to v6.7
- % Done changed from 0 to 20
#5 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#6 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#7 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-firewall-base-2.9.0-1.17.g94a1562.ns6.noarch.rpm
- nethserver-firewall-base-ui-2.9.0-1.17.g94a1562.ns6.noarch.rpm
- Check the bug is not reproducible
#8 Updated by Davide Principi over 5 years ago
- Assignee set to Davide Principi
#9 Updated by Davide Principi over 5 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 90
System and Package Version installed
Package Installed: nethserver-firewall-base-2.9.0-1.ns6.noarch nethserver-firewall-base-ui-2.9.0-1.ns6.noarch
Test Original Problem
404 error after deleting the service
Install Updated Package
yum --enablerepo=nethserver-testing update nethserver-firewall-base-ui ...nethserver-firewall-base-ui-2.9.0-1.20.g68af71e.ns6.noarch.rpm ...nethserver-firewall-base-2.9.0-1.20.g68af71e.ns6.noarch.rpm
Test Results after update
The record is deleted without error messages.
Nov 30 17:58:03 vm2 /sbin/e-smith/db[20707]: /var/lib/nethserver/db/fwservices: DELETE smtp=fwservice|Description||Ports|25|Protocol|tcp Nov 30 17:58:03 vm2 esmith::event[20712]: Event: firewall-objects-modify ... Nov 30 17:58:04 vm2 esmith::event[20712]: Event: firewall-objects-modify SUCCESS
Verified Or Reopen
VERIFIED
#10 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-firewall-base-2.10.0-1.ns6.noarch.rpm
- nethserver-firewall-base-ui-2.10.0-1.ns6.noarch.rpm