tuwien-csd / damap-backend

MIT License
5 stars 6 forks source link

Null exported for storage #273

Closed rekt-hard closed 2 weeks ago

rekt-hard commented 1 month ago

Describe the bug When exporting, null is exported in the template. This concerns all three templates.

Is this a regression? No.

Steps to Reproduce

  1. Login as an admin
  2. Go to admin panel
  3. Create a storage and for the translation, only enter a title and select a language
  4. Create a DMP
  5. Specify a new dataset
  6. Go to step 5
  7. Click on the Storage tab
  8. Select the previously created storage
  9. Select the previously defined dataste
  10. Export with any template
  11. Open the exported document
  12. Find the section about the storage

Screenshot from 2024-10-23 09-35-33

Expected behavior null should not be exported. Depending on what the real value should be, either an empty string or a default value may be exported.

Screenshots

Environment

Additional context