Download link for digital products on order history page contains file name, preventing correct resolve of the request
---------------------------------------------------------------------------------------------------------------------- Key: OFBIZ-4711 URL: https://issues.apache.org/jira/browse/OFBIZ-4711 Project: OFBiz Issue Type: Bug Components: specialpurpose/ecommerce Affects Versions: SVN trunk Reporter: Uwe Allner I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf). The download link in the order history of the ecommerce application after purchasing the product is rendered as "/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060". The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated. The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Allner updated OFBIZ-4711: ------------------------------ Attachment: fix-erroneous-download-link-format.patch Fix erroneous download link in ecommerce order form for digital downloads > Download link for digital products on order history page contains file name, preventing correct resolve of the request > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4711 > URL: https://issues.apache.org/jira/browse/OFBIZ-4711 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Reporter: Uwe Allner > Attachments: fix-erroneous-download-link-format.patch > > > I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf). > The download link in the order history of the ecommerce application after purchasing the product is rendered as > "/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060". > The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated. > The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Allner updated OFBIZ-4711: ------------------------------ Attachment: fix-erroneous-download-link-format.patch Not git specific ;o) > Download link for digital products on order history page contains file name, preventing correct resolve of the request > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4711 > URL: https://issues.apache.org/jira/browse/OFBIZ-4711 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Reporter: Uwe Allner > Attachments: fix-erroneous-download-link-format.patch, fix-erroneous-download-link-format.patch > > > I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf). > The download link in the order history of the ecommerce application after purchasing the product is rendered as > "/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060". > The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated. > The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4711. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 11.04 Release Branch 10.04 Assignee: Jacques Le Roux Thanks Uwe, Your patch is in trunk r1293376 R11.04 r1293377 R10.04 r1293378 Please, even if it easier to do, next time provide a svn compatible patch (we don't use GitHub ;o). Fortunaltely, in your case I had only to remove the 7 1st lines... > Download link for digital products on order history page contains file name, preventing correct resolve of the request > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4711 > URL: https://issues.apache.org/jira/browse/OFBIZ-4711 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Reporter: Uwe Allner > Assignee: Jacques Le Roux > Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk > > Attachments: fix-erroneous-download-link-format.patch, fix-erroneous-download-link-format.patch > > > I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf). > The download link in the order history of the ecommerce application after purchasing the product is rendered as > "/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060". > The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated. > The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |