[PySide] DataMapper issues

Srini Kommoori vasure at gmail.com
Mon Feb 18 00:43:15 CET 2013

Don't have access to the computer but it was very few modifications to the
linked code.

Hope you are way past the issue you were debugging.
On Feb 17, 2013 2:14 PM, "Adrian Klaver" <adrian.klaver at gmail.com> wrote:

> On 02/17/2013 07:17 AM, Srini Kommoori wrote:
>> I tried to create a simple testcase to recreate the problem - so far
>> basic stuff works for me(mapper and sql components). If you have a
>> simple test case, it would help a lot.
> It turns out it is an interaction between the model EditStrategy and the
> DataMapper SubmitPolicy. You cannot set a model EditStrategy. If you leave
> it unset then the DataMapper works. Though for a reason I have not yet
> figured out when you do DataMapper.submit() all the mapped fields are
> updated to the database, not just the changed one(s).
> --
> Adrian Klaver
> adrian.klaver at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130217/302148cb/attachment.html>

More information about the PySide mailing list