Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039685 | Modules | External Data Integration | public | 2018-11-23 10:26 | 2019-01-15 11:27 | |||||||
Reporter | caristu | |||||||||||
Assigned To | caristu | |||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
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 | AugustoMauch | |||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0039685: EDL Request Line Error Message length should be controlled when setting it | |||||||||||
Description | EDL Request Line Error Message length should be controlled when setting it. In case the error message provided is higher that the maximum allowed it can cause trouble when managing the error state of the request line. Because this can lead to have the import entry status in error and the related EDL request line status not being updated accordingly. This is a sample trace of an import entry error, caused because of trying to set an error message higher than the maximum allowed: org.openbravo.base.validation.ValidationException: errorMsg: <errorMsg> is too long, it has length <length>, the maximum allowed length is 2000 at org.openbravo.base.model.Property.checkIsValidValue(Property.java:833) at org.openbravo.base.structure.BaseOBObject.set(BaseOBObject.java:264) at org.openbravo.externaldata.integration.OBEDLRequestLine.setErrorMsg(OBEDLRequestLine.java:184) at org.openbravo.externaldata.integration.process.ProcessRequest.processRequestLine(ProcessRequest.java:513) at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:95) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:369) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:290) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) | |||||||||||
Steps To Reproduce | In description | |||||||||||
Proposed Solution | Limit the size of the error message before setting it to the EDL request line in case it is higher to the maximum allowed. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-11-23 10:26 | caristu | New Issue | ||||||||||
2018-11-23 10:26 | caristu | Assigned To | => caristu | |||||||||
2018-11-23 10:28 | caristu | Summary | Request Line Error Message length should be controlled when setting it => EDL Request Line Error Message length should be controlled when setting it | |||||||||
2018-11-23 10:28 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17955#r17955 | |||||||||
2018-11-23 10:28 | caristu | Proposed Solution updated | ||||||||||
2018-11-23 10:28 | caristu | Proposed Solution updated | ||||||||||
2018-11-23 10:31 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17956#r17956 | |||||||||
2018-11-23 10:31 | caristu | Proposed Solution updated | ||||||||||
2018-11-23 10:39 | caristu | Review Assigned To | => AugustoMauch | |||||||||
2018-11-23 10:43 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17957#r17957 | |||||||||
2018-11-23 10:44 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17958#r17958 | |||||||||
2018-11-23 11:34 | hgbot | Checkin | ||||||||||
2018-11-23 11:34 | hgbot | Note Added: 0108074 | ||||||||||
2018-11-23 11:34 | hgbot | Status | new => resolved | |||||||||
2018-11-23 11:34 | hgbot | Resolution | open => fixed | |||||||||
2018-11-23 11:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/2ceb47e7d36396f9b40bcba5bdfc1c9ee58377fc [^] | |||||||||
2018-11-23 11:55 | caristu | Issue cloned | 0039687 | |||||||||
2018-12-10 16:36 | AugustoMauch | Note Added: 0108371 | ||||||||||
2018-12-10 16:36 | AugustoMauch | Status | resolved => closed | |||||||||
2019-01-15 11:27 | AugustoMauch | Issue cloned | 0039949 | |||||||||
2019-01-15 11:28 | AugustoMauch | Relationship added | related to 0039949 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|