*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects

Fix InvenioRDM draft file upload

Merged Moser, Maximilian requested to merge mm/upload-fix into main
  • wrap the file IO in a context manager to close it once it's not needed anymore
  • call set_content() only on the file in question, not all files for the draft (that have likely already been committed)
  • override the _data property of the outgoing stream to prevent the requests library from doing its magic

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading