Bug: PDF print preview doesn't load on front
Steps to reproduce:
- Click
print to PDFon any object
Actual Result
Print preview shows loading spiral, then goes straight to the download dialog with no other options.
Expected Result
Print preview should load with options to print, download, expand etc.
Connected to Huly®: UBERF-9343
Alexander Onnikov may that be due to the fact we are now using a separate datalake domain?
Alexey Zinovyev probably this is due to content-disposition attachment header, instead of showing the file it downloads it.
This header was added to fix problem with downloads from another domain, but in this place we want opposite behavior - show instead of downloading 😒
Should we allow altering the default with a query parameter?
yeah, maybe … it might be not easy to do because we use one URL for many purposes, will take a look a bit later