Opened 5 months ago

Closed 5 months ago

#2067 closed defect (fixed)

Download stream from files should be opened before sending metadata to web client

Reported by: nicklas Owned by: everyone
Priority: minor Milestone: BASE 3.10.1
Component: web Version:
Keywords: Cc:

Description

The reason is that for external files, the size and last modification date may have changed since the file was registered with BASE. Opening the download stream retrieve the current values and update the database.

It would be better if the download servlet opened the download stream before sending the metadata to the web browser since otherwise it may send out incorrect values.

Change History (1)

comment:1 Changed 5 months ago by nicklas

  • Resolution set to fixed
  • Status changed from new to closed

(In [7313]) Fixes #2067: Download stream from files should be opened before sending metadata to web client

The download stream is now opened earlier and the db.close() was changed to db.commit() so that changes are automatically saved.

Note: See TracTickets for help on using tickets.