Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007581 | Openbravo ERP | 02. Master data management | public | 2009-02-16 17:41 | 2009-03-18 11:03 |
|
Reporter | networkb | |
Assigned To | pheenan | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.35MP5 | |
Target Version | | Fixed in Version | 2.50beta | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007581: Import file loader does not take into account Field format sequence |
Description | If a new Import Loader Format is created and its lines are created randomly ( I mean, field format sequence is not 10,20,30...), when a csv file is imported using this file format, information is not well organized.
Import process in Import File Loader does not take into account the sequence created in Field Format tab. It takes into account the order which those lines were created (you can see it looking at ad_impformat_row table) |
Steps To Reproduce | 1 Generate a new Import Loader Format. Use I_Bpartner table, and Semicolon separator.
2 Define its line randomly. (See atached file in order to generate its lines).
Generate first line with sequence 110, 10, 30, etc.
3 Go to Import File loader form. Select the previous file format and use the attached csv.
If you look at i_bpartner table, you will see that information has not been stored in the correct field. |
Proposed Solution | |
Additional Information | |
Tags | commsup_sprint6 |
Relationships | depends on | backport | 0007583 | | closed | pheenan | Import file loader does not take into account Field format sequence | depends on | backport | 0007584 | | closed | pheenan | Import file loader does not take into account Field format sequence |
|
Attached Files | 2.jpg (140,264) 2009-02-16 17:42 https://issues.openbravo.com/file_download.php?file_id=849&type=bug
mis_prov.csv (299) 2009-02-17 16:45 https://issues.openbravo.com/file_download.php?file_id=857&type=bug mis_prov_corrected.csv (275) 2009-02-17 19:21 https://issues.openbravo.com/file_download.php?file_id=862&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2009-02-16 17:41 | networkb | New Issue | |
2009-02-16 17:41 | networkb | Assigned To | => rafaroda |
2009-02-16 17:41 | networkb | File Added: mis_prov.csv | |
2009-02-16 17:41 | networkb | Regression testing | => No |
2009-02-16 17:42 | networkb | File Added: 2.jpg | |
2009-02-16 18:23 | rafaroda | Assigned To | rafaroda => pheenan |
2009-02-16 18:23 | rafaroda | Status | new => scheduled |
2009-02-16 18:23 | rafaroda | fix_in_branch | => trunk |
2009-02-17 09:43 | pheenan | Tag Attached: commsup_sprint6 | |
2009-02-17 16:21 | svnbot | Checkin | |
2009-02-17 16:21 | svnbot | Note Added: 0013576 | |
2009-02-17 16:21 | svnbot | Status | scheduled => resolved |
2009-02-17 16:21 | svnbot | Resolution | open => fixed |
2009-02-17 16:21 | svnbot | svn_revision | => 13279 |
2009-02-17 16:44 | pheenan | Status | resolved => new |
2009-02-17 16:44 | pheenan | Resolution | fixed => open |
2009-02-17 16:44 | pheenan | Note Added: 0013577 | |
2009-02-17 16:45 | pheenan | File Deleted: mis_prov.csv | |
2009-02-17 16:45 | pheenan | File Added: mis_prov.csv | |
2009-02-17 16:45 | pheenan | Status | new => scheduled |
2009-02-17 16:46 | pheenan | Status | scheduled => resolved |
2009-02-17 16:46 | pheenan | Resolution | open => fixed |
2009-02-17 16:46 | pheenan | Note Added: 0013578 | |
2009-02-17 17:06 | svnbot | Checkin | |
2009-02-17 17:06 | svnbot | Note Added: 0013586 | |
2009-02-17 17:06 | svnbot | svn_revision | 13279 => 13284 |
2009-02-17 19:20 | svnbot | Checkin | |
2009-02-17 19:20 | svnbot | Note Added: 0013597 | |
2009-02-17 19:20 | svnbot | svn_revision | 13284 => 13295 |
2009-02-17 19:20 | pheenan | Status | resolved => new |
2009-02-17 19:20 | pheenan | Resolution | fixed => open |
2009-02-17 19:20 | pheenan | Note Added: 0013598 | |
2009-02-17 19:21 | pheenan | File Added: mis_prov_corrected.csv | |
2009-02-17 19:23 | pheenan | Note Added: 0013600 | |
2009-02-17 19:24 | pheenan | Status | new => closed |
2009-02-17 19:24 | pheenan | Note Added: 0013601 | |
2009-02-17 19:24 | pheenan | Resolution | open => no change required |
2009-03-18 11:03 | anonymous | sf_bug_id | 0 => 2691397 |
Notes |
|
(0013576)
|
svnbot
|
2009-02-17 16:21
|
|
Repository: openbravo
Revision: 13279
Author: pheenan
Date: 2009-02-17 16:21:17 +0100 (Tue, 17 Feb 2009)
Fixed 7581. int field constant being used to alter the array iterator when it bears no impact on the count. Due to this fields were being skipped causing the values in the data rows to be assigned to the wrong fields.
---
U trunk/src/org/openbravo/erpCommon/ad_forms/FileImport.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=13279&sc=1 [^]
|
|
|
|
Reopening issue to change the test csv file which contains an error. |
|
|
|
Changing to resolved again after attaching a corrected csv test file |
|
|
(0013586)
|
svnbot
|
2009-02-17 17:06
|
|
Repository: openbravo
Revision: 13284
Author: pheenan
Date: 2009-02-17 17:06:39 +0100 (Tue, 17 Feb 2009)
Fixed 7583. Backport for issue 7581. Removing constant integer which caused the array iterator to go out of sequence.
---
U branches/r2.40/src/org/openbravo/erpCommon/ad_forms/FileImport.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=13284&sc=1 [^]
|
|
|
(0013597)
|
svnbot
|
2009-02-17 19:20
|
|
Repository: openbravo
Revision: 13295
Author: pheenan
Date: 2009-02-17 19:20:33 +0100 (Tue, 17 Feb 2009)
Rolling back changes made for issue 7581. This is not a real issue but a case of the documentation not clearly stating how to work with the import files and the file definitions.
---
U trunk/src/org/openbravo/erpCommon/ad_forms/FileImport.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=13295&sc=1 [^]
|
|
|
|
rolling back commit. Not actually an issue. |
|
|
|
This issue relates to the use of constant fields and their inclusion in the import file. Constant fields should not be included in the import file. Need to add this to the wiki documentation to make this point clearer. |
|
|
|
Updated OB Support with the actual issue. Have attached a correctly formatted import file which has been tested and imports correctly. |
|