Project

General

Profile

Actions

Bug #13711

closed

Can't create new subnet with domain

Added by Marek Hulán over 8 years ago. Updated over 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 #1

Updated by Marek Hulán over 8 years ago

looks related to #12866 but I think it's a different issue, since it possible to fix it through webui - which is not the case here

Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3186 added
Actions #3

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release set to 71
Actions #4

Updated by Dominic Cleal over 8 years ago

  • Has duplicate Bug #13940: Subnet creation with associated domains fails (hammer cli) added
Actions #5

Updated by Marek Hulán over 8 years ago

  • Bugzilla link set to 1313858
Actions #6

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Marek Hulán over 6 years ago

  • Related to Bug #23164: (some) subnet validation errors are not shown added
Actions

Also available in: Atom PDF