Project

General

Profile

Refactor #7439

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

Added by Ori Rabin over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Related to Foreman - Bug #7038: PGError when hostgroup name exceeds 245 charactersClosed2014-08-12
Related to Foreman - Bug #7624: location and organization char names are capped to 246 instead of 255Closed2014-09-24

History

#1 Updated by Ori Rabin over 7 years ago

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

#2 Updated by Dominic Cleal over 7 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

#3 Updated by Ori Rabin over 7 years ago

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

#4 Updated by Ori Rabin over 7 years ago

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

Also available in: Atom PDF