Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055347 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2024-04-23 11:24 | 2024-05-22 12:17 | |||
Reporter | charlotte_vasseur | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR24Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | PR24Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | QA functional test | |||||||
Regression date | 2024-02-12 | |||||||
Regression introduced in release | main | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/8069e182437fc9573ea241f6c467f6635e0acd16 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055347: [24Q2] [BO] Error when importing Inventory via CSV file in Business API Data Load | |||||||
Description | When importing an Inventory via CSV file in window Business API Data Load, an error "The Process request could not be performed. Please check the log for additional info" is displayed | |||||||
Steps To Reproduce | Prepare a CSV file based on this: organization,warehouse,inventoryType,countSlotTime,name,date,description,inventoryReason ex: Vall Blanca Store,VBS/001,T,E,Count01,2024-04-24,Test desc, File in attachment Log in Openbravo backoffice and use a proper role to create total physical inventory Go to 'Business API Data Load' window Select 'Inventory' in 'Entity' Upload the CSV previously prepared Click on 'Done' => An error "The Process request could not be performed. Please check the log for additional info" is displayed (see Error import Inventory Business API Data Load.png) 2024-04-26 15:30:29,049 [http-nio-8181-exec-10] ERROR org.openbravo.client.kernel.KernelServlet - Error executing action org.openbravo.api.file.ImportFileActionHandler error: org.openbravo.base.exception.OBException: Request failed while parsing multipart parameters java.lang.IllegalStateException: org.openbravo.base.exception.OBException: Request failed while parsing multipart parameters at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:75) ~[classes/:?] ... Caused by: org.openbravo.base.exception.OBException: Request failed while parsing multipart parameters at org.openbravo.client.application.process.BaseProcessActionHandler.parseMultipartParameters(BaseProcessActionHandler.java:298) ~[classes/:?] at org.openbravo.client.application.process.BaseProcessActionHandler.extractParametersFromRequest(BaseProcessActionHandler.java:240) ~[classes/:?] at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:56) ~[classes/:?] ... 51 more Caused by: org.apache.commons.fileupload.FileCountLimitExceededException: attachment at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367) ~[commons-fileupload-1.5.jar:1.5] at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:113) ~[commons-fileupload-1.5.jar:1.5] at org.openbravo.client.application.process.BaseProcessActionHandler.parseMultipartParameters(BaseProcessActionHandler.java:277) ~[classes/:?] at org.openbravo.client.application.process.BaseProcessActionHandler.extractParametersFromRequest(BaseProcessActionHandler.java:240) ~[classes/:?] at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:56) ~[classes/:?] ... 51 more | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0163924) hgbot (developer) 2024-04-30 08:10 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1219 [^] |
(0164957) hgbot (developer) 2024-05-22 12:17 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: e1bf6578d859223c7ef387771e8796a7100b84a1 Author: Meriem Azaf <m.azaf@orisha.com> Date: 22-05-2024 10:17:37 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/e1bf6578d859223c7ef387771e8796a7100b84a1 [^] Fixes ISSUE-55347: Error when importing Inventory via CSV file in Business API Data Load The problem here first was a problem of the maximum file count limit has been exceeded during the parsing of the multipart request. For this first we just increase the NUMBER_OF_FIXED_PARAMS to 5 and after we had a second problem related to csrfToken that is invalid, when we search we found that this parameter was added to formData instead of paramValues because we get the csrfToken from those. So we removed all the new changes related to first phase and we keep just the second ones. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
(0164958) hgbot (developer) 2024-05-22 12:17 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1219 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-04-26 15:38 | alostale | Type | defect => backport |
2024-04-26 15:38 | alostale | Target Version | => PR24Q2 |
2024-04-29 18:02 | meriem_azaf | Assigned To | Triage Platform Conn => meriem_azaf |
2024-04-30 08:10 | hgbot | Note Added: 0163924 | |
2024-05-22 12:17 | hgbot | Resolution | open => fixed |
2024-05-22 12:17 | hgbot | Status | scheduled => closed |
2024-05-22 12:17 | hgbot | Fixed in Version | => PR24Q2 |
2024-05-22 12:17 | hgbot | Note Added: 0164957 | |
2024-05-22 12:17 | hgbot | Note Added: 0164958 |
Copyright © 2000 - 2009 MantisBT Group |