Project

General

Profile

Actions

Bug #13711

closed

Can't create new subnet with domain

Added by Marek Hulán about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I try to create new subnet and select some domain, it does not get saved and it unchecks the selected domain. It does not display any error message, but in logs (and through hammer) an error about invalid :subnet_domains relation can be found. It's caused by validations on relation entity which does not have foreign id, since we are about to save the new record. IMHO validations on relation entity should be removed, we never use the class directly and rely on active record to create it.


Related issues 2 (1 open1 closed)

Related to Foreman - Bug #23164: (some) subnet validation errors are not shownNewActions
Has duplicate Foreman - Bug #13940: Subnet creation with associated domains fails (hammer cli)Duplicate02/29/2016Actions
Actions

Also available in: Atom PDF