Project

General

Profile

Bug #28137

graphql: It's not possible to generate a global id for Redhat OS

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

irb(main):002:0> Foreman::GlobalId.for(Redhat.first)
Traceback (most recent call last):
        2: from (irb):2
        1: from app/services/foreman/global_id.rb:31:in `for'
NoMethodError (undefined method `name' for nil:NilClass)

Related issues

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

Associated revisions

Revision 47dbf9ac (diff)
Added by Kamil Szubrycht over 3 years ago

Fixes #28137 - Fix generating global id for operatingsystems

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/7130 added

#3 Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.0.0 added

#4 Updated by Tomer Brisker over 3 years ago

  • Fixed in Releases 1.24.0 added
  • Fixed in Releases deleted (2.0.0)

#5 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF