Project

General

Profile

Bug #13378

Two error messages for too long name on location or organization creation

Added by Brad Buckingham over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1246119
Description of problem:
Probably we have defect in validation system for location and organization entities

Version-Release number of selected component (if applicable):
Beta

How reproducible:
Always

Steps to Reproduce:
1. Go to Organization or Location list
2. Push 'New Organization' or 'New Location' button
3. Input too long name (more than 256 symbols) for name field
4. Push 'Submit' button

Actual results:
'is too long (maximum is 246 characters) and is too long (maximum is 255 characters)' message is displayed

Expected results:
'is too long (maximum is 255 characters)' message is displayed

Additional info:


Related issues

Related to Foreman - Bug #7624: location and organization char names are capped to 246 instead of 255Closed2014-09-24

Associated revisions

Revision b874d64f (diff)
Added by Shlomi Zadok over 3 years ago

Fixes #13378 - Ensure taxonomy name length validation is called once

History

#1 Updated by Dominic Cleal over 3 years ago

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

#2 Updated by Dominic Cleal over 3 years ago

  • Subject changed from Wrong error message for too long name when we try to create location or organization to Two error messages for too long name on location or organization creation
  • Category set to Rails

#3 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Shlomi Zadok
  • Pull request https://github.com/theforeman/foreman/pull/3161 added

#4 Updated by Shlomi Zadok over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 71

Also available in: Atom PDF