Skip to content

[BUG] The endpoint '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}' returns a code of 200 when successful. #949

@dk-emag

Description

@dk-emag

Describe the bug
Calling the endpoint '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}' successfully deletes a submodel reference, but the return code is 200 instead of 204 (as specified).

To Reproduce
Steps to reproduce the behavior:

  1. Create a shell with at least one submodel reference
  2. Delete submodel reference via endpoint '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}'
  3. Check if reference is deleted
  4. Check return code is 200

Expected behavior
The return code should be 204 to indicate a successful deletion.

BaSyx (please complete the following information):

  • BaSyx Java AAS Env container: eclipsebasyx/aas-environment:2.0.0-SNAPSHOT-f179b26

Screenshots
Image

System (please complete the following information):

  • OS: Linux
  • CPU architecture: x64
  • Browser: chrome, safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    BaSyx Java V2

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions