Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0043078 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2020-01-31 10:24 | 2022-02-01 08:07 | ||||||
Reporter | alostale | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0043078: don't download files with a POST to a hidden form | ||||||||||
Description | Currently backoffice downloads (ie. csv export, pdf reports, etc...) are implemented as a POST request through a hidden form see (OB.Utilities.postThroughHiddenForm). This has some incovenients: * Can't handle errors properly: if the request fails, the error cannot be intercepted * Because of that reason, PDF export requires 2 requests: 1 to generate the report and check if it failed, another one to perform the actual download We should reimplement this piece to perform an ajax fetch and handling properly the response. See: https://gitlab.com/openbravo/product/openbravo/snippets/1934905 [^] https://developer.mozilla.org/en-US/docs/Web/API/Streams_API/Using_readable_streams [^] | ||||||||||
Steps To Reproduce | - | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2020-01-31 10:24 | alostale | New Issue | |
2020-01-31 10:24 | alostale | Assigned To | => platform |
2020-01-31 10:24 | alostale | Modules | => Core |
2020-01-31 10:24 | alostale | Triggers an Emergency Pack | => No |
2020-01-31 10:27 | alostale | Relationship added | related to 0043029 |
2020-01-31 10:27 | alostale | Status | new => acknowledged |
2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |