Openbravo Issue Tracking System - Modules
View Issue Details
0045323ModulesInitial data loadpublic2020-10-28 16:592020-10-29 16:14
egoitz 
Triage Finance 
normalmajoralways
closedduplicate 
5
 
 
0045323: Not possible to import a file with more than 100 products
The import idl fails when loading more than 100 products in Openbravo 20q2.2 environment.
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)
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
No tags attached.
duplicate of defect 0045291 closed AtulOpenbravo import idl stock no longer works 
Issue History
2020-10-28 16:59egoitzNew Issue
2020-10-28 16:59egoitzAssigned To => Triage Finance
2020-10-28 16:59egoitzResolution time => 1605999600
2020-10-29 13:45dmiguelezRelationship addedduplicate of 0045291
2020-10-29 16:14dmiguelezStatusnew => closed
2020-10-29 16:14dmiguelezResolutionopen => duplicate

There are no notes attached to this issue.