Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029313 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-03-17 12:55 | 2016-06-17 19:37 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 44f2ec446db1 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 35072 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2013-07-11 | |||||||
Regression introduced in release | 3.0MP26 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/bed326b6ddf6f08b10cf22cd7403aff84c0e3750 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029313: Download attachments selecting several records is not working fine | |||||||
Description | Download attachments selecting several records is not working fine. This functionality was working fine in old releases (tested in MP20) | |||||||
Steps To Reproduce | - 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|
(0075714) alostale (viewer) 2015-03-18 08:25 |
This error appears in log: 867f0e26 250522 [http-8080-3] ERROR org.openbravo.erpCommon.businessUtility.TabAttachments - Error while downloading attachments java.io.FileNotFoundException: /opt/openbravo/attachments/318-5057F53393774AC3A952F9143426A922,A5ABE40B99F94D94A5FAAC741E659EA5/a (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at org.openbravo.erpCommon.businessUtility.TabAttachments.printPageFileMultiple(TabAttachments.java:313) |
(0075717) hgbot (developer) 2015-03-18 09:27 |
Repository: erp/devel/pi Changeset: 7b67971d79d29f3521e21c45778fa93a6bea0fbd Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Mar 18 09:08:59 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/7b67971d79d29f3521e21c45778fa93a6bea0fbd [^] fixed bug 29313: 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 --- |
(0075718) hgbot (developer) 2015-03-18 09:27 |
Repository: erp/devel/pi Changeset: bb2fdcffc42931b4ea760eef97756dfc6e084a56 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Mar 18 09:10:10 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/bb2fdcffc42931b4ea760eef97756dfc6e084a56 [^] related to bug 29313: code cleanup removed unneeded code --- M src/org/openbravo/erpCommon/businessUtility/TabAttachments.java --- |
(0075723) alostale (viewer) 2015-03-18 10:17 |
Added test cases in testlink https://testlink.openbravo.com/testlink [^] Within Platform > Attachments |
(0075741) hudsonbot (viewer) 2015-03-18 15:38 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/327af339611e [^] Maturity status: Test |
(0075742) hudsonbot (viewer) 2015-03-18 15:38 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/327af339611e [^] Maturity status: Test |
(0075787) AugustoMauch (administrator) 2015-03-20 12:12 |
Code reviewed and verified in pi@bb2fdcffc429 |
(0085700) hgbot (developer) 2016-04-18 13:02 |
Repository: erp/devel/pi Changeset: 44f2ec446db1484d32f31e140e1b862ea5a428ef Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Mar 18 09:08:59 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/44f2ec446db1484d32f31e140e1b862ea5a428ef [^] fixed bug 29313: 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 --- |
(0085701) hgbot (developer) 2016-04-18 13:03 |
Repository: erp/devel/pi Changeset: 1bcb50bd93e22cb409350719c6f91687aa08efad Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Mar 18 09:10:10 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/1bcb50bd93e22cb409350719c6f91687aa08efad [^] related to bug 29313: code cleanup removed unneeded code --- M src/org/openbravo/erpCommon/businessUtility/TabAttachments.java --- |
(0085733) gorkaion (viewer) 2016-04-19 09:51 |
issue reopened by attachment enhancement project merge. checked that it is not reproduced. |
(0087459) hudsonbot (viewer) 2016-06-17 19:36 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^] Maturity status: Test |
(0087460) hudsonbot (viewer) 2016-06-17 19:37 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2015-03-17 12:55 | jonalegriaesarte | New Issue | |
2015-03-17 12:55 | jonalegriaesarte | Assigned To | => AugustoMauch |
2015-03-17 12:55 | jonalegriaesarte | OBNetwork customer | => Yes |
2015-03-17 12:55 | jonalegriaesarte | Modules | => Core |
2015-03-17 12:55 | jonalegriaesarte | Support ticket | => 35072 |
2015-03-17 12:55 | jonalegriaesarte | Resolution time | => 1427065200 |
2015-03-17 12:55 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2015-03-17 14:37 | alostale | Assigned To | AugustoMauch => platform |
2015-03-18 08:16 | alostale | Assigned To | platform => alostale |
2015-03-18 08:16 | alostale | Status | new => acknowledged |
2015-03-18 08:25 | alostale | Note Added: 0075714 | |
2015-03-18 08:53 | alostale | Relationship added | caused by 0020623 |
2015-03-18 08:55 | alostale | Review Assigned To | => AugustoMauch |
2015-03-18 08:55 | alostale | Regression level | => Production - Confirmed Stable |
2015-03-18 08:55 | alostale | Regression date | => 2013-07-11 |
2015-03-18 08:55 | alostale | Regression introduced in release | => 3.0MP26 |
2015-03-18 08:55 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/bed326b6ddf6f08b10cf22cd7403aff84c0e3750 [^] |
2015-03-18 08:55 | alostale | Status | acknowledged => scheduled |
2015-03-18 09:01 | alostale | Relationship added | related to 0028842 |
2015-03-18 09:07 | alostale | Summary | Download attachments seleting several records is not working fine => Download attachments selecting several records is not working fine |
2015-03-18 09:07 | alostale | Description Updated | View Revisions |
2015-03-18 09:27 | hgbot | Checkin | |
2015-03-18 09:27 | hgbot | Note Added: 0075717 | |
2015-03-18 09:27 | hgbot | Status | scheduled => resolved |
2015-03-18 09:27 | hgbot | Resolution | open => fixed |
2015-03-18 09:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7b67971d79d29f3521e21c45778fa93a6bea0fbd [^] |
2015-03-18 09:27 | hgbot | Checkin | |
2015-03-18 09:27 | hgbot | Note Added: 0075718 | |
2015-03-18 10:17 | alostale | Note Added: 0075723 | |
2015-03-18 10:45 | alostale | Relationship added | related to 0029329 |
2015-03-18 15:38 | hudsonbot | Checkin | |
2015-03-18 15:38 | hudsonbot | Note Added: 0075741 | |
2015-03-18 15:38 | hudsonbot | Checkin | |
2015-03-18 15:38 | hudsonbot | Note Added: 0075742 | |
2015-03-20 12:12 | AugustoMauch | Note Added: 0075787 | |
2015-03-20 12:12 | AugustoMauch | Status | resolved => closed |
2015-03-20 12:12 | AugustoMauch | Fixed in Version | => 3.0PR15Q2 |
2015-10-30 07:33 | alostale | Relationship added | related to 0031306 |
2015-10-30 07:42 | alostale | Relationship replaced | has duplicate 0031306 |
2016-04-18 13:02 | hgbot | Checkin | |
2016-04-18 13:02 | hgbot | Note Added: 0085700 | |
2016-04-18 13:02 | hgbot | Status | closed => resolved |
2016-04-18 13:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/7b67971d79d29f3521e21c45778fa93a6bea0fbd [^] => http://code.openbravo.com/erp/devel/pi/rev/44f2ec446db1484d32f31e140e1b862ea5a428ef [^] |
2016-04-18 13:03 | hgbot | Checkin | |
2016-04-18 13:03 | hgbot | Note Added: 0085701 | |
2016-04-19 09:51 | gorkaion | Note Added: 0085733 | |
2016-04-19 09:51 | gorkaion | Status | resolved => closed |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087459 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087460 |
Copyright © 2000 - 2009 MantisBT Group |