[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9881 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r9881 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Thu, 26 Jun 2008 07:48:01 -0500 (CDT) |
Author: reinhard
Date: 2008-06-26 07:48:01 -0500 (Thu, 26 Jun 2008)
New Revision: 9881
Modified:
trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
If a backend function is called for a record, make that record subject to
requery.
issue194 testing
Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2008-06-26
08:43:39 UTC (rev 9880)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2008-06-26
12:48:01 UTC (rev 9881)
@@ -407,10 +407,16 @@
if self.isEmpty ():
raise Exceptions.FunctionCallOfEmptyRecordError
- return self.__connection.call (self.__tablename, self.__wherefields (),
+ result = self.__connection.call (self.__tablename, self.__wherefields (),
methodname, parameters)
+ # This call possibly changed something in the backend, so this record must
+ # be subject to requery.
+ self.__requeryStatus = 'posted'
+ return result
+
+
# ---------------------------------------------------------------------------
# Status of this record
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9881 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=