Project

General

Profile

Bug #28017

graphql: cannot create a host with puppetclasses

Added by Kamil Szubrycht over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

when trying to create a host with `puppetclassIds`, request fails with status code 500 and error message "ActiveModel::UnknownAttributeError (unknown attribute 'puppetclass' for Host::Managed.)"


Related issues

Related to Foreman - Tracker #22109: Foreman should support a graphql apiNew

Associated revisions

Revision 6626223a (diff)
Added by Kamil Szubrycht over 3 years ago

Fixes #28017 - graphql: fix creating host with puppetclasses

History

#1 Updated by Kamil Szubrycht over 3 years ago

  • Related to Tracker #22109: Foreman should support a graphql api added

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7094 added

#3 Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 1.24.0 added

#4 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Amit Upadhye over 3 years ago

  • Category set to API

Also available in: Atom PDF