Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045291 | Modules | Initial data load | public | 2020-10-22 17:16 | 2020-10-29 16:11 |
|
Reporter | sebastien_liron | |
Assigned To | AtulOpenbravo | |
Priority | immediate | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Openbravo Appliance 14.04 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | Production - Confirmed Stable |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0045291: import idl stock no longer works |
Description | We tested the import idl for stock and there is an issue with the tmp file creation.
Looking into the code, it seems that it is trying to write a tmp file already created, with no overwrite flags, so it fails.
I joined a fix, that I think should be taken, as it is a better and cleaner way to do the same thing ( and also it fixes the issue ) |
Steps To Reproduce | get a 20q2 version of openbravo
add the org.openbravo.idl module
compile, etc ...
try to import the joint file in the import for stock
the system should tell that the tmp file is already created. |
Proposed Solution | see the diff joint. |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0045323 | | closed | Triage Finance | Not possible to import a file with more than 100 products |
|
Attached Files | idlDiff (6,474) 2020-10-22 17:16 https://issues.openbravo.com/file_download.php?file_id=15041&type=bug 20201005importSTK (1).csv (94,028) 2020-10-22 17:16 https://issues.openbravo.com/file_download.php?file_id=15042&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2020-10-22 17:16 | sebastien_liron | New Issue | |
2020-10-22 17:16 | sebastien_liron | Assigned To | => Retail |
2020-10-22 17:16 | sebastien_liron | File Added: idlDiff | |
2020-10-22 17:16 | sebastien_liron | Resolution time | => 1604012400 |
2020-10-22 17:16 | sebastien_liron | Regression level | => Production - Confirmed Stable |
2020-10-22 17:16 | sebastien_liron | Triggers an Emergency Pack | => No |
2020-10-22 17:16 | sebastien_liron | File Added: 20201005importSTK (1).csv | |
2020-10-23 09:05 | marvintm | Project | Retail Modules => Modules |
2020-10-23 09:06 | marvintm | Category | Retail API => Initial data load |
2020-10-23 09:06 | marvintm | version | RR20Q2.2 => |
2020-10-23 09:06 | marvintm | Target Version | RR20Q2.3 => |
2020-10-23 09:06 | marvintm | Assigned To | Retail => Triage Finance |
2020-10-27 11:38 | inigo_lerga | Assigned To | Triage Finance => inigo_lerga |
2020-10-27 11:38 | inigo_lerga | Status | new => scheduled |
2020-10-28 10:50 | AtulOpenbravo | Assigned To | inigo_lerga => AtulOpenbravo |
2020-10-29 04:00 | hgbot | Note Added: 0123984 | |
2020-10-29 10:07 | AtulOpenbravo | Note Added: 0123994 | |
2020-10-29 13:45 | dmiguelez | Relationship added | has duplicate 0045323 |
2020-10-29 16:11 | hgbot | Note Added: 0124022 | |
2020-10-29 16:11 | hgbot | Resolution | open => fixed |
2020-10-29 16:11 | hgbot | Status | scheduled => closed |
2020-10-29 16:11 | hgbot | Note Added: 0124023 | |
2020-10-29 16:11 | hgbot | Note Added: 0124024 | |
Notes |
|
(0123984)
|
hgbot
|
2020-10-29 04:00
|
|
|
|
|
Test Plan
- Install org.openbravo.idl module
- Login as F&B International Group Admin
- Using Enterprise module management, apply Initial Data Load dataset for F&B Espana organization
- Navigate to Import window, select file 20201005importSTK (1).csv (Attached file), Entity as Stock
- Run Validate process
- Realize that Error message related to org.apache.commons.io.FileExistsException disappears.
Note: There is another expected error about data not found for eg: Organization not found as the file content are not suitable for F&B International Group client. |
|
|
(0124022)
|
hgbot
|
2020-10-29 16:11
|
|
|
|
(0124023)
|
hgbot
|
2020-10-29 16:11
|
|
|
|
(0124024)
|
hgbot
|
2020-10-29 16:11
|
|
|