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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045323
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Initial data loadmajoralways2020-10-28 16:592020-10-29 16:14
ReporteregoitzView Statuspublic 
Assigned ToTriage Finance 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0045323: Not possible to import a file with more than 100 products

DescriptionThe import idl fails when loading more than 100 products in Openbravo 20q2.2 environment.
Steps To Reproduce1- 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 SolutionThe 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0045291 closedAtulOpenbravo import idl stock no longer works 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker