Hello,
Has anyone had issues with downloading files in Reactive? I'm using the download action, providing the binary and the file name.
In 80% of the downloads I get a file with a guid as filename and without extension. In the remaining 20% cases it works fine (for the same file).
I've tested this in the most popular browsers, with multiple file names, with and without extension and multiple file sizes, and the behavior is always the same.
I will ask around at OutSystems.
Hi David,
Is there any pattern with regards to when you get the GUID and when the actual file name? If you get a file name, do you always get a file name for that file, or is it random even if you download the same file?
And perhaps a stupid question, but did you debug and check whether FileName actually contains the expected file name, even when getting a GUID? I can imagine a GUID is generated when the FileName is empty, for example.
Hey,
So far I didn't find any pattern, it appears to be random. The guid is the blob id generated in the JS code that handles the download of the file.
When I get the file name everything is correct and as expected.
And yes, the file name always contains the expected file name. In my sandbox I even hardcoded the file name.
I've heard that the React 16 preview may solve the problem, which is something I'll test tomorrow.
Still, I'd expect the download to work even without the React 16 preview.
Cheers
Any new findings?I'm also facing o problem with the download widget in reactive: in Chrome for iOS it won't trigger downloads anymore.
Thanks,
Hey all,
Im facing that problem in one of my applications, I had a link that download a PDF file, now I realize that it stopped working.
Is there anything about this?
Hey guys,
I'm facing the same issue. A couple of days everything was working as expected and now everytime I click on download I get a random GUID as filename and the file doesn't have any extension..
Any news regarding this?
Hi Diogo,
I am having the same problem ? Did you already solve it on your side?
No :( I have a ticket open with OutSystems, but still waiting for an answer.
I've asked OutSystems again what the status of this is. Will let you guys know if anything's known about it.
Hello all.
I've reconfigured the widget and it worked .
Still don't know the problem
Hello Vasile,
What do you mean by reconfigured the widget?
Gustavo Gaspar
hello Gustavo.
As i remember i've just configured all the parameters for the download widget.
I was having the same problem, as a (temporary) solution, we created a javaScript to replace the download component.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Hi everyone,
Today, I'm facing the same issue regarding the download of the Excel files.
It happens only in one application and instead of downloading the Excel with the filename + extension, it retrieves only a GUID. If I change the filename to the extension I can open it without any issues (so the file is not corrupt).
The filename doesn't work even if hardcoded the name (for example: ".pdf")
Anyone found the root case of this issue?
Best regards,
LuÃs
Just to share here for historical purposes:
Our issue regarding the downloads was being blocked by an external integration (Google Analytics). When we disabled the Google Analytics the filename was working properly.
Then, we identified which tag was causing the issue and the filename started working again with Google Analytics enabled.
Outsystems created a case that is under investigation, so if everyone has the same issue could relate to this incident: RPM-2536
I hope it helps.
Cheers,