Skip to content

Silent error while updating an existing usage profile #163

@fdaugan

Description

@fdaugan

Usage profile update is rejected because of of container constraint.
In addition, the error is not displayer at UI level.

image

http://localhost:8080/ligoj/rest/service/prov/1002/usage
Request URL: http://localhost:8080/ligoj/rest/service/prov/1002/usage
Request Method: PUT
Status Code: 400 Bad Request

Data

{
convertibleEngine: null,
convertibleFamily: null,
convertibleLocation: null,
convertibleOs: null,
convertibleType: null,
duration: 7,
id: 3003,
name: "Production",
rate: 100,
reservation: true,
start: 0
}

Result

{"errors":{"container":[{"rule":"no-match-container","parameters":{"resource":"container"}}]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions