[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7277 - in trunk/gnue-common/src/datasources: . drivers/DBSIG2
From: |
reinhard |
Subject: |
[gnue] r7277 - in trunk/gnue-common/src/datasources: . drivers/DBSIG2 |
Date: |
Tue, 29 Mar 2005 13:00:03 -0600 (CST) |
Author: reinhard
Date: 2005-03-29 13:00:02 -0600 (Tue, 29 Mar 2005)
New Revision: 7277
Modified:
trunk/gnue-common/src/datasources/GDataSource.py
trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
Log:
Don't copy _hasFieldReferences to DataObject, referenceField is called too
late.
Modified: trunk/gnue-common/src/datasources/GDataSource.py
===================================================================
--- trunk/gnue-common/src/datasources/GDataSource.py 2005-03-29 18:55:17 UTC
(rev 7276)
+++ trunk/gnue-common/src/datasources/GDataSource.py 2005-03-29 19:00:02 UTC
(rev 7277)
@@ -283,7 +283,6 @@
self.name = string.lower(self.name)
self._topObject._datasourceDictionary[self.name]=self
- dataObject._hasFieldReferences = self._hasFieldReferences
dataObject._fieldReferences = self._fieldReferences
dataObject._unboundFieldReferences = self._unboundFieldReferences
dataObject._defaultValues = self._defaultValues
Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
2005-03-29 18:55:17 UTC (rev 7276)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
2005-03-29 19:00:02 UTC (rev 7277)
@@ -288,7 +288,7 @@
join(self._detailfields,","),
self.table, whereClause)
- elif self._hasFieldReferences:
+ elif self._dataSource._hasFieldReferences:
# Explicitly referenced fields give, no need to select *
self._fieldOrder = fields = self._fieldReferences.keys()
q = "SELECT %s%s FROM %s%s" % \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7277 - in trunk/gnue-common/src/datasources: . drivers/DBSIG2,
reinhard <=