[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7177 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7177 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Fri, 11 Mar 2005 16:37:53 -0600 (CST) |
Author: reinhard
Date: 2005-03-11 16:37:52 -0600 (Fri, 11 Mar 2005)
New Revision: 7177
Modified:
trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
Only do requery when we have a primary key.
Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-11
22:33:39 UTC (rev 7176)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-11
22:37:52 UTC (rev 7177)
@@ -359,7 +359,8 @@
# Now, requery, as the posting of the record and/or of the details could
# have changed something
- self.__requery ()
+ if self._initialData.has_key (self._parent._dataObject._primaryIdField):
+ self.__requery ()
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7177 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=