Project

General

Profile

Actions

Refactor #7439

open

Host group name limited because lookup_value 'match' is a string

Added by Ori Rabin about 10 years ago. Updated about 10 years ago.

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

Description

bug http://projects.theforeman.org/issues/7038 was fixed by limiting the size of host name.
The bug should have been fixed by changing 'match' to a text field in the lookup_value table
this wasn't possible because there is an index on it.
The exact problem is explained in the related issue


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7038: PGError when hostgroup name exceeds 245 charactersClosedOri Rabin08/12/2014Actions
Related to Foreman - Bug #7624: location and organization char names are capped to 246 instead of 255ClosedOri Rabin09/24/2014Actions
Actions #1

Updated by Ori Rabin about 10 years ago

  • Related to Bug #7038: PGError when hostgroup name exceeds 245 characters added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • Subject changed from Host name limited because lookup_value 'match' is a string to Host group name limited because lookup_value 'match' is a string
  • Category set to Parameters
Actions #3

Updated by Ori Rabin about 10 years ago

  • Related to Bug #7624: location and organization char names are capped to 246 instead of 255 added
Actions #4

Updated by Ori Rabin about 10 years ago

this refactoring should also return location name to unlimited after it is limited to fix #7624

Actions

Also available in: Atom PDF