Skip to content

Server error (500) returned after editing Catalog item with used name #574

@rvsia

Description

@rvsia

Services > Catalogs > Catalogs > Configuration > New/Edit

Description

  • When you add a new Catalog with used name it returns 400 error
  • However when you edit some Catalog and change its name to used name it returns 500 error

http://localhost:3000/api/service_catalogs/45

body

{
  "action": "edit",
  "resource": {
    "name": "Aa" // something what is already used
  }
}

response

500 Interval Server Error

{
"error": {
   "kind": "internal_server_error",
    "message": "Validation failed: ServiceTemplateCatalog: Name has already been taken",
    "klass": "ActiveRecord::RecordInvalid"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions