Project

General

Profile

Actions

Bug #7624

closed

location and organization char names are capped to 246 instead of 255

Added by Ori Rabin over 9 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1123818
Description of problem:

Unable to create loccation names with char limit of 255.

We face PGError, when creating names more than 246 chars.

Version-Release number of selected component (if applicable):
sat6-GA-snap2

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

We have the below 2 issues:

a) Unable to create locations name with 255 chars, currently capped to 246chars.
b) The location name field, should display "cannot create name with more than 255 chars", instead of te PGError.

Expected results:
We need the fix for both the below issues.

a) location name field needs to accept upto 255 chars.
b) Instead of dispaying the PGError, the UI needs to handle it and display "mot more than 255 chars" for more than 255 char limit.

Additional info:


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #7038: PGError when hostgroup name exceeds 245 charactersClosedOri Rabin08/12/2014Actions
Related to Foreman - Refactor #7439: Host group name limited because lookup_value 'match' is a stringNew09/15/2014Actions
Related to Foreman - Bug #13378: Two error messages for too long name on location or organization creationClosedShlomi Zadok01/26/2016Actions
Actions

Also available in: Atom PDF