Project

General

Profile

Actions

Bug #23090

open

errors shown in UI missing details

Added by Thomas McKay about 7 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
-
Difficulty:
easy
Triaged:
Yes
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" 
        ]
    }
}
Actions

Also available in: Atom PDF