Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012954Openbravo ERPA. Platformpublic2010-04-13 16:482010-05-19 00:00
alostale 
marvintm 
urgentminoralways
closedfixed 
5
 
2.50MP18 
No
Core
No
0012954: Tables with source data and reference data at the same time are not allowed
It is not possible to define tables with data populated as reference data and as sourcedata at the same time.
-Create a new table with ad_module_id, access: all
-Add it to AD dataset
-In the dataset where clause add: ad_module_id in (:moduleid) and ad_client_id='0'. So data in client 0 should be exported as sourcedata and data in other clients as part of another dataset.
-Export database:
[exportdatabase] SQL command to read rows from table failed: SELECT * FROM AD_PROPERTY_CONFIGURATION WHERE ad_client_id = '0' and ad_module_id in ('0') ORDER BY AD_PROPERTY_CONFIGURATION_ID
[exportdatabase] Couldn't read rows from table AD_PROPERTY_CONFIGURATION
[exportdatabase] java.sql.SQLException: Couldn't read rows from table AD_PROPERTY_CONFIGURATION
No tags attached.
Issue History
2010-04-13 16:48alostaleNew Issue
2010-04-13 16:48alostaleAssigned To => marvintm
2010-04-13 16:48alostaleOBNetwork customer => No
2010-04-19 08:31alostaleSummaryTables with source data and reference data at the same time are not alled => Tables with source data and reference data at the same time are not allowed
2010-04-19 08:31alostaleStatusnew => scheduled
2010-04-19 08:31alostalefix_in_branch => pi
2010-05-06 18:06hgbotCheckin
2010-05-06 18:06hgbotNote Added: 0027000
2010-05-06 18:06hgbotStatusscheduled => resolved
2010-05-06 18:06hgbotResolutionopen => fixed
2010-05-06 18:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fc60813af2904273a01b67a628b2e3be8dc2cbb0 [^]
2010-05-07 09:22hgbotCheckin
2010-05-07 09:22hgbotNote Added: 0027027
2010-05-07 09:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/fc60813af2904273a01b67a628b2e3be8dc2cbb0 [^] => http://code.openbravo.com/erp/devel/pi/rev/b50575200731f05fb9e57af19e31f51a06a7e117 [^]
2010-05-18 15:02alostaleStatusresolved => closed
2010-05-18 15:02alostaleFixed in Version => 2.50MP18
2010-05-18 21:43hudsonbotCheckin
2010-05-18 21:43hudsonbotNote Added: 0027489
2010-05-18 21:44hudsonbotCheckin
2010-05-18 21:44hudsonbotNote Added: 0027495
2010-05-19 00:00anonymoussf_bug_id0 => 3003675

Notes
(0027000)
hgbot   
2010-05-06 18:06   
Repository: erp/devel/pi
Changeset: fc60813af2904273a01b67a628b2e3be8dc2cbb0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 03 12:34:27 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fc60813af2904273a01b67a628b2e3be8dc2cbb0 [^]

Fixed issue 12954. Tables with source data and reference data at the same time will be allowed, by using a secondary whereclause.

---
M src-db/database/lib/dbsourcemanager.jar
M src-db/database/model/tables/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0027027)
hgbot   
2010-05-07 09:22   
Repository: erp/devel/pi
Changeset: b50575200731f05fb9e57af19e31f51a06a7e117
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 07 09:22:03 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b50575200731f05fb9e57af19e31f51a06a7e117 [^]

Fixed issue 12954. Tables with source data and reference data at the same time will be allowed, by using a secondary whereclause.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0027489)
hudsonbot   
2010-05-18 21:43   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fc60813af290 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]
(0027495)
hudsonbot   
2010-05-18 21:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/b50575200731 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]