Project

General

Profile

Bug #23090

errors shown in UI missing details

Added by Thomas McKay about 2 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Updating a repository "Upstream Repository Name" with an invalid docker name results in two errors during validation. The json returned reflects this but the UI just repeats the same message in two notices. They both say "An error occurred saving the Repository: invalid container image name".

{
    "displayMessage": "Validation failed: Docker upstream name invalid container image name, Container repository name invalid container image name",
    "errors": {
        "docker_upstream_name": [
            "invalid container image name" 
        ],
        "container_repository_name": [
            "invalid container image name" 
        ]
    }
}

History

#1 Updated by John Mitsch about 2 years ago

  • Legacy Backlogs Release (now unused) set to 349

#2 Updated by Thomas McKay almost 2 years ago

  • Target version changed from Katello 3.8.0 to Katello 3.9.0

#3 Updated by Zach Huntington-Meath over 1 year ago

  • Triaged set to No
  • Target version changed from Katello 3.9.0 to Katello Backlog

#4 Updated by Michael Johnson over 1 year ago

  • Triaged changed from No to Yes

#5 Updated by John Mitsch 9 months ago

  • Difficulty set to easy

Also available in: Atom PDF