Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029313
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2015-03-17 12:552016-06-17 19:37
ReporterjonalegriaesarteView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchFixed in SCM revision44f2ec446db1
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2013-07-11
Regression introduced in release3.0MP26
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/bed326b6ddf6f08b10cf22cd7403aff84c0e3750 [^]
Triggers an Emergency PackNo
Summary

0029313: Download attachments selecting several records is not working fine

DescriptionDownload 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028842 closedNaroaIriarte When you attach a file, the created record in table c_file has context organization instead of document organization 
depends on backport 00293243.0PR15Q1.2 closedalostale Download attachments seleting several records is not working fine 
depends on backport 00293253.0PR14Q3.8 closedalostale Download attachments seleting several records is not working fine 
caused by design defect 00206233.0MP25 closedshankarb 32K limit for attachments 
has duplicate defect 0031306 closedplatform Downloading attachments from different rows at the same time does not work 
related to defect 0029329 closedalostale can't download attachments for 2 files with same name and without extension 

-  Notes
(0075714)
alostale (manager)
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 (manager)
2015-03-18 10:17

Added test cases in testlink https://testlink.openbravo.com/testlink [^]

Within Platform > Attachments
(0075741)
hudsonbot (developer)
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 (developer)
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 (manager)
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 (developer)
2016-04-19 09:51

issue reopened by attachment enhancement project merge. checked that it is not reproduced.
(0087459)
hudsonbot (developer)
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 (developer)
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

- 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 Modules => Core
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
Powered by Mantis Bugtracker