-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset Import via. CSV (or Excel Format) leaves Asset Library empty #552
Comments
We will validate and provide with a fix within the next release. |
Thanks for the quick response! I did take a look into it. When using the https://www.monarc.lu/documentation/user-guide/#exporting-an-asset I would assume that importing an entire asset library like that wouldn't work either since the What does work for me however is that I can apparently import an asset library by importing an entire risk analysis... Perhaps I will be able to do something that way by synthesizing a JSON file that only contains the bare minimum and then merging it. |
Indeed, the import of assets from a JSON file is only for a single asset and the new feature added since v2.13.1 allows to export/import the whole analysis with the Assets Library or only the Assets Library. |
Describe the bug
After importing a CSV/XLSV file for assets following the file schema provided by MONARC itself, the website imports the assets "successfully", but leaves the asset library blank.
A deep dive into the database suggests that the
description
column was not filled (but is not NULL either). Manually updating the database to contain descriptions does not cause the assets to appear in the library, even after a restart.To Reproduce
Steps to reproduce the behavior:
x Assets library have been created successfully
")A look at the test CSV/XLSV file used:
Below the look into the MYSQL Database (for reference: This test was done on a risiko analysis set to "German" hence looking at label3/description3, but was also reproduced for other languages):
Desktop (please complete the following information):
Additional context
The issue was first observed in an instance provided at my.monarc.lu and was then reproduced on local installations of MONARC via. the VM and another time in WSL.
The text was updated successfully, but these errors were encountered: