Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014636Openbravo ERPA. Platformpublic2010-09-21 16:282010-10-30 11:24
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0014636: Support database views defined in the AD in the Data Access Layer
Database views are currently not supported. Add support for database views as long as they only have one PK column.
dev-platform-quick-wins
blocks defect 0009640 closed mtaal Table Validation on View 
Issue History
2010-09-21 16:28mtaalNew Issue
2010-09-21 16:28mtaalAssigned To => mtaal
2010-09-21 16:29mtaalRelationship addedblocks 0009640
2010-09-25 11:27hgbotCheckin
2010-09-25 11:27hgbotNote Added: 0031356
2010-09-25 11:27hgbotStatusnew => resolved
2010-09-25 11:27hgbotResolutionopen => fixed
2010-09-25 11:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d61bca59af84c289ad12a3f124432ef0f8fe33df [^]
2010-09-27 17:09rafarodaTag Attached: dev-platform-quick-wins
2010-09-29 11:57hudsonbotCheckin
2010-09-29 11:57hudsonbotNote Added: 0031466
2010-10-21 12:52marvintmNote Added: 0032055
2010-10-21 12:52marvintmStatusresolved => closed
2010-10-30 11:24anonymoussf_bug_id0 => 3098733

Notes
(0031356)
hgbot   
2010-09-25 11:27   
Repository: erp/devel/pi
Changeset: d61bca59af84c289ad12a3f124432ef0f8fe33df
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Sep 25 11:26:10 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d61bca59af84c289ad12a3f124432ef0f8fe33df [^]

Fixes issue 14636: Support database views defined in the AD in the Data Access Layer, Fixes issue 9640: Table Validation on View

---
M src-test/org/openbravo/test/AllAntTaskTests.java
M src/org/openbravo/base/model/Column.java
M src/org/openbravo/base/model/ModelProvider.java
A src-test/org/openbravo/test/dal/ViewTest.java
---
(0031466)
hudsonbot   
2010-09-29 11:57   
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/d61bca59af84 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/51c2c2967221 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18452.obx [^]
(0032055)
marvintm   
2010-10-21 12:52   
Tested with several cases, and it looks to be working correctly.