On Wed, Oct 8, 2008 at 5:28 PM, Ed Leafe <[EMAIL PROTECTED]> wrote:
>
>
> OK, the important clue here is that is using the DataStructure, and
> not the database columns, to determine the fields to exclude from
> updates.
>
> Revert your copy of dCursorMixin.py, and then around line 2309 is
> the
> method '_setDataStructure()'. Add the line below after the method
> definition, re-run your app, and post the output here.
>
>
> -- Ed Leafe
>
>
> def _setDataStructure(self, val):
> print dabo.logPoint(levels=10)
>
>
Okay, here's what I get:
c:\docume~1\mike\locals~1\temp\tmp38aeil.py:627 in onHit:
self.Form.save()
C:\src\dabo\ui\uiwx\dForm.py:355 in save:
bizobj.saveAll()
C:\src\dabo\lib\RemoteConnector.py:62 in __call__:
return self.fn(self.obj, *args, **kwargs)
C:\src\dabo\biz\dBizobj.py:346 in saveAll:
startTransaction=False)
C:\src\dabo\biz\dBizobj.py:745 in scanChangedRows:
func(*args, **kwargs)
C:\src\dabo\lib\RemoteConnector.py:62 in __call__:
return self.fn(self.obj, *args, **kwargs)
C:\src\dabo\biz\dBizobj.py:398 in save:
cursor.save()
C:\src\dabo\db\dCursorMixin.py:1202 in save:
self._syncAuxProperties()
C:\src\dabo\db\dCursorMixin.py:415 in _syncAuxProperties:
ac.DataStructure = self.DataStructure
C:\src\dabo\db\dCursorMixin.py:2312 in _setDataStructure:
print dabo.logPoint(levels=10)
Dabo Error Log: Thu Oct 09 13:49:09 2008: Error in scanChangedRows: (1054,
"Unknown column 'parts.cat_name' in 'field list'")
SQL: update `parts` set `parts`.`cat_name` = 'Comparator / OP AMPs' where
`parts`.`index`=1
Does that mean anything to you?
Thanks,
Mike M.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]