Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0045323 | Modules | Initial data load | public | 2020-10-28 16:59 | 2020-10-29 16:14 | |||||||
Reporter | egoitz | |||||||||||
Assigned To | Triage Finance | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0045323: Not possible to import a file with more than 100 products | |||||||||||
Description | The import idl fails when loading more than 100 products in Openbravo 20q2.2 environment. | |||||||||||
Steps To Reproduce | 1- prepare a file with more than 100 products 2- go to import window 3- SElect the product entity 4- Use the file created on step 1 Error raised: org.apache.commons.io.FileExistsException: Destination '/tmp/tomcat8temp/fi_11593355112512000916csv' already exists at org.apache.commons.io.FileUtils.moveFile(FileUtils.java:2825) at org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:405) at org.openbravo.idl.proc.IdlService.executeProcess(IdlService.java:92) at org.openbravo.idl.form.IDL_import.doPost(IDL_import.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:200) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:459) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) | |||||||||||
Proposed Solution | The error is in the jar: commons-fileupload-1.4.jar in the method DiskFileItem.write Using a previous release of the jar, it works: commons-fileupload-1.2.2.jar | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-10-28 16:59 | egoitz | New Issue | ||||||||||
2020-10-28 16:59 | egoitz | Assigned To | => Triage Finance | |||||||||
2020-10-28 16:59 | egoitz | Resolution time | => 1605999600 | |||||||||
2020-10-29 13:45 | dmiguelez | Relationship added | duplicate of 0045291 | |||||||||
2020-10-29 16:14 | dmiguelez | Status | new => closed | |||||||||
2020-10-29 16:14 | dmiguelez | Resolution | open => duplicate |
There are no notes attached to this issue. |