Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005293Openbravo ERP02. Master data managementpublic2008-09-29 10:112008-12-09 12:30
plujan 
Dowid 
normalminoralways
closedfixed 
5
2.40 
 
No
Core
No
0005293: On PostgreSQL, if an Import Loader Format is incorrect I have a "ProcessRunError" message when importing
If I create an Import Loader Format assigning two fields to the same column I have not error or warning message. But when using it at Import File Load process, I get a "ProcessRunError" error message.

There are two issues to correct. One is improve the message. It should says something useful to understand what went wrong.
The other is to improve Import Load Format window to control and warn user about entering values that will lead to an error.
# Login as userA
# Go to Master Data Management->Import Data->Import Loader Format
# Click New and fill:

    * Name "Product"
    * Table "I_Product"
    * Format "Comma Separated"
# Move to Field Format and create new records:
Organization ad_org_id (Constant) 0
Search key value (String)
Name name (String)
Uom_id C_Uom_Id (Number) .
Description description (String)
Product type ProductType (Constant) I
Product category value value (String)

Note that "Search key" and "Product category value" are assigned both to "value"

Go to Import File Loader and import i_products.txt
You get an ProcessRunError message.

Additional Data: You can find the original testcases on http://wiki.openbravo.com/wiki/Acceptance_Testing [^] (cases #6 and #7 of Administration Master Data module). Please note that assigning the same "value" is not part of this cases.
No tags attached.
blocks defect 0005262 closed Dowid On PostgreSQL, if an Import Loader Format is incorrect I have a "ProcessRunError" message when importing 
Issue History
2008-09-29 10:11psarobeNew Issue
2008-09-29 10:11psarobeAssigned To => Dowid
2008-09-29 10:11psarobeStatusnew => scheduled
2008-09-30 15:54svnbotCheckin
2008-09-30 15:54svnbotNote Added: 0009290
2008-09-30 15:54svnbotStatusscheduled => resolved
2008-09-30 15:54svnbotResolutionopen => fixed
2008-09-30 15:54svnbotsvn_revision => 8094
2008-10-01 17:15svnbotCheckin
2008-10-01 17:15svnbotNote Added: 0009304
2008-10-01 17:15svnbotsvn_revision8094 => 8135
2008-12-09 12:30krishnaRegression testing => No
2008-12-09 12:30krishnaStatusresolved => closed

Notes
(0009290)
svnbot   
2008-09-30 15:54   
Repository: openbravo
Revision: 8094
Author: dowid
Date: 2008-09-30 15:54:21 +0200 (Tue, 30 Sep 2008)

Fixed bug 0005293: On PostgreSQL, if an Import Loader Format is incorrect I have a "ProcessRunError" message when importing

---
U branches/r2.40/src-db/database/model/tables/AD_IMPFORMAT_ROW.xml
U branches/r2.40/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=8094&sc=1 [^]
(0009304)
svnbot   
2008-10-01 17:15   
Repository: openbravo
Revision: 8135
Author: villind
Date: 2008-10-01 17:15:04 +0200 (Wed, 01 Oct 2008)

Merged in change 8094. Fixed bug 0005293: On PostgreSQL, if an Import Loader Format is incorrect I have a "ProcessRunError" message when importing

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U branches/bonware/r2.40/src-db/database/model/tables/AD_IMPFORMAT_ROW.xml
U branches/bonware/r2.40/src-db/database/sourcedata/AD_MESSAGE.xml
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=8135&sc=1 [^]