I am working on e-catalog download feature. The requirement is basically to download the whole catalog in the form of csv.
Problem - Expecting text/csv but hybris considers application/octet-stream, resulting in file download of Size 0 KB
In this, actual CSV file is generated in temp folder, which is then used to create media of type – CSV in Hybris. While creating CSV media, application/octet-stream media type is created. Therefore, user cannot see any data in file although file is generated with some data in temp folder of Hybris.
This functionality was working before on hybris 5.4 but it has stopped working now on hybris 6.1.
Any help would be highly appreciated.