eclipse-aaspe / server

C# based server for AASX packages
Other
72 stars 52 forks source link

Blazor dowload shows error #220

Closed TNeis closed 9 months ago

TNeis commented 9 months ago

Starting the example server and use download of the aasx file shows an error in console window: image

The browser opens a new tab and shows the following: image

There was no temp file existing before. As a result, two temp files are created by the server (related to #123).

juileetikekar commented 9 months ago

Hi @TNeis,

Thank you for raising the issue. Could you please share if you are using docker, release or code and the corresponding version? We would also appreciate if you could share the steps to reproduce the issue.

TNeis commented 9 months ago

Hi @juileetikekar

Thanks for the fast response! I'm using the latest release AasxServerBlazor.2023-11-17.alpha.zip

I'm running the server locally on my Windows 10 machine (for easy testing of a client I'm developing). So no docker involved.

Repro steps:

  1. Download and unzip above package
  2. Execute the startForDemo.bat file
  3. Open Blazor server in Chrome with URL: http://localhost:5001/
  4. Select contained Example package and click the download link on the right. In this case "http://localhost:5001/packages/MA" -> The error will be shown like in the screenshot of the issue
juileetikekar commented 9 months ago

Hi @TNeis,

Thank you for the information.

The issue was successfully reproduced. We'll keep you updated.

juileetikekar commented 9 months ago

Hi @TNeis,

The issues has been fixed and merged into main branch.