Url "documentdownload" does not works in my <iframe
I have a process with an overview. In the overview, I download a document via an HTTP link
On the portal, I can access a case. From the case, I access the overview; then, I upload the document. Url is
HTTP code= 200 / I received the content.
Via the Explorer page (https://community.bonitasoft.com/project/page-explorer-seach-cases-multi...), I do the same manipulation.
I access the Overview on the same case, and I click on the same URL and...
URL to upload is
HTTP code is 200, BUT there is not document uploaded. I have the feeling Bonita Portal says "200" but sends an empty document.
HAR is here:
So, I suspected a CORS or anything like this.
I analyze the portal structure: Portal do a
when explorer does:
style="border: none; height: 806px;" title="Case overview" id="icaseoverview"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms">
So, seem the be the same isn't ? Difference is the parent of the Iframe : for the Bonita Portal, it's /bonita/portal, for the custom page, /bonita/portal/custom-page/custompage_explorer/?
Last but not least, if I copy the documentDownload directly from the browser, it's working.
So, any idea on what's its blocking? Is the Bonita portal who send an empty document?