Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029325Openbravo ERPA. Platformpublic2015-03-17 12:552015-03-19 13:52
jonalegriaesarte 
alostale 
immediateminorhave not tried
closedfixed 
5
 
3.0PR14Q3.83.0PR15Q2 
AugustoMauch
Core
Production - Confirmed Stable
2013-07-11
3.0MP26
https://code.openbravo.com/erp/devel/pi/rev/bed326b6ddf6f08b10cf22cd7403aff84c0e3750 [^]
No
0029325: Download attachments seleting several records is not working fine
Download attachments seleting several records is not working fine. This functionality was working fine in old releases (tested in MP20)
- Sales invoice window, select one invoice, add an attachement
- Select a different invoice and add a new attachement
- In grid mode, select both invoices and download the attachments, using the attachment button.
- The zip file downloaded can not be opened. It is corrupted.
No tags attached.
blocks defect 00293133.0PR15Q2 closed alostale Download attachments selecting several records is not working fine 
Issue History
2015-03-18 08:55alostaleTypedefect => backport
2015-03-18 08:55alostaleTarget Version3.0PR15Q2 => 3.0PR14Q3.8
2015-03-18 09:44hgbotCheckin
2015-03-18 09:44hgbotNote Added: 0075721
2015-03-18 09:44hgbotStatusscheduled => resolved
2015-03-18 09:44hgbotResolutionopen => fixed
2015-03-18 09:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/44e6f470507a59b27725439ba7e460d905b9bba2 [^]
2015-03-19 13:52AugustoMauchNote Added: 0075770
2015-03-19 13:52AugustoMauchStatusresolved => closed
2015-03-19 13:52AugustoMauchFixed in Version => 3.0PR15Q2

Notes
(0075721)
hgbot   
2015-03-18 09:44   
Repository: erp/backports/3.0PR14Q3.8
Changeset: 44e6f470507a59b27725439ba7e460d905b9bba2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 18 09:08:59 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/44e6f470507a59b27725439ba7e460d905b9bba2 [^]

fixed bug 29325: attachment download of different records at once fails

  It generated an invalid zip file.

  The problem was it tried to find the attachment directory based on the whole
  list of ids to download instead of splitting it.

---
M src/org/openbravo/erpCommon/businessUtility/TabAttachments.java
---
(0075770)
AugustoMauch   
2015-03-19 13:52   
Code reviewed and verified in PR14Q3.8@44e6f470507a