Bug #3392

Can't create host groups with certain hosts

Added by Filippo Carletti about 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-firewall-base
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

Trying to add an host which name contains the underscore () character to an host group fails with an error:
Members
first letter, than only lower letters, numbers and symbols like "-" and "
"

Associated revisions

Revision c9e9e11c
Added by Filippo Carletti about 5 years ago

Host Groups: allow every hostname. Refs #3392

Revision 4babfb2c
Added by Filippo Carletti about 5 years ago

Host Groups: allow every hostname. Refs #3392

History

#1 Updated by Filippo Carletti about 5 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • % Done changed from 0 to 20

The host group validator should accept host name from every interface: firewall objects hosts, dns hosts and dhcp reservations.

#2 Updated by Filippo Carletti about 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Filippo Carletti about 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Filippo Carletti about 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

Packages in nethserver-testing:
nethserver-firewall-base-2.10.4-1.2.gc9e9e11.ns6.noarch.rpm
nethserver-firewall-base-ui-2.10.4-1.2.gc9e9e11.ns6.noarch.rpm

Test case:
1. create an host in firewall objects which name contains an underscore
2. use the host in a group
3. add to the group an host coming from the dns page
4. add an host form a dhcp reservation

#5 Updated by Nicola Rauso about 5 years ago

  • Assignee changed from Filippo Carletti to Nicola Rauso

#6 Updated by Nicola Rauso about 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Nicola Rauso)
  • % Done changed from 70 to 90

Tested: OK

Test case:
1. create an host in firewall objects which name contains an underscore
2. use the host in a group
3. add to the group an host coming from the dns page
4. add an host form a dhcp reservation

#7 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in 6.7/nethserver-updates:
  • nethserver-firewall-base-2.10.5-1.ns6.noarch.rpm
  • nethserver-firewall-base-ui-2.10.5-1.ns6.noarch.rpm

Also available in: Atom PDF