Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029313 | Openbravo ERP | A. Platform | public | 2015-03-17 12:55 | 2016-06-17 19:37 |
|
Reporter | jonalegriaesarte | |
Assigned To | alostale | |
Priority | immediate | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q2 | Fixed in Version | 3.0PR15Q2 | |
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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0028842 | | closed | NaroaIriarte | When you attach a file, the created record in table c_file has context organization instead of document organization | depends on | backport | 0029324 | 3.0PR15Q1.2 | closed | alostale | Download attachments seleting several records is not working fine | depends on | backport | 0029325 | 3.0PR14Q3.8 | closed | alostale | Download attachments seleting several records is not working fine | caused by | design defect | 0020623 | 3.0MP25 | closed | shankarb | 32K limit for attachments | has duplicate | defect | 0031306 | | closed | platform | Downloading attachments from different rows at the same time does not work | related to | defect | 0029329 | | closed | alostale | can't download attachments for 2 files with same name and without extension |
|
Attached Files | |
|
Issue History |
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 | bug_revision_view_page.php?rev_id=8012#r8012 |
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 | |
Notes |
|
|
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
|
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
|
2015-03-18 09:27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code reviewed and verified in pi@bb2fdcffc429 |
|
|
(0085700)
|
hgbot
|
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
|
2016-04-18 13:03
|
|
|
|
|
issue reopened by attachment enhancement project merge. checked that it is not reproduced. |
|
|
|
|
|
|
|