Project

General

Profile

Actions

Bug #37012

closed

Adding a new boolean-type parameter to a host causes an error

Added by Nofar Alfassi 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:

1. On the Host details page, navigate to the Parameters tab and click on 'Add Parameter.'
2. Enter the parameter name and set the type as boolean.
3. Retain the default value and click on 'Save.'

This results in the following error
"TypeError: Cannot read properties of null (reading 'toString')"

Actions #1

Updated by jgkootstra please_edit_me 4 months ago

This type of crash dump occurs and the parameter tab of a host becomes unavailable (happens in Red Hat Satellite 6.14.1):

TypeError: e.value is null
in d
in p
in tbody
in N
in Tbody
in table
in E
in TableComposable
in g
in u
in m
in d
in C
in t
in t
in t
in t
in d
in m
in section
in PageSection
in O
in t
in t
in c
in f
in d
in div
in l
in p
in y
in t
in n
in a
in C
in s
in div
in b
in IntlProvider
in I18nProviderWrapper(b)
in d
in StoreProvider(I18nProviderWrapper(b))
in DataProvider(StoreProvider(I18nProviderWrapper(b)))

Actions #2

Updated by Girija Soni 4 months ago

  • Assignee set to Girija Soni
Actions #3

Updated by Girija Soni 4 months ago

  • Category set to Parameters
Actions #4

Updated by Girija Soni 4 months ago

  • Bugzilla link set to 2256452
Actions #5

Updated by The Foreman Bot 3 months ago

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

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.10.0 added
Actions #7

Updated by Girija Soni 3 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF