server icon indicating copy to clipboard operation
server copied to clipboard

Fix nullable and error handling in AASXFileServerAPIApiController

Open Freezor opened this issue 1 year ago • 1 comments

Description

Fixed the nullable handling to represent the logic that was present before the .Net8.0 change. Also made sure that no new exceptions are thrown based on the nullable changes

Freezor avatar Jul 31 '24 05:07 Freezor

Hi @Freezor,

I tried to test the PR. All the APIs in File Server IF work fine, except for Get /Packages. It returns 406 error code with the warning message in the logs: "No output formatter was found for content types '' to write the response.". Ideally, it should return paginated result with a list of packageIds & aasIds, i.e., list of "PackageDescription". The functionaloty was working as expected earlier, so something must have changed during refactoring.

image

I would really appreciate, if you could look into it.

juileetikekar avatar Aug 05 '24 07:08 juileetikekar