Actions
Bug #12558
openHost from child organization cannot be saved if hostgroup is defined for parent org only.
Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Description
1. Create organization org1
2. Create organization org1/org2
3. Create a subnet, and associate it to org1
4. Create a host in org1/org2 and set its primary interface to the subnet from [3].
Expected: host is saved
Actual: there is an error "Subnet is not defined for host's organization"
The problem comes from nic/base.rb #validate_host_organization, it checks for explicitly defined organizations only.
Actions