[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] gmEditArea broken

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] gmEditArea broken
Date: Sat, 29 Nov 2003 02:33:52 +0100
User-agent: Mutt/

> That is an known problem (at least to me). GnuMed hangs because the
> _save_date() method throws an exception, which somehow breaks the 
> gmDispatcher call.
that may have to do with thread syncing

> looks to me like self.patient has not been correctly initialized.
It now is an attribute of gmEditArea being set up in __init__,
there never should be a need to bother with that later on.

The signal "patient_selected" IS NOT intended to tell you to
update you patient pointer. This is bad practice carried over
from foul and dark corners of programming. It is meant to tell
you that the selected patient DID change and that you better
update your data IN CASE you handle any that DEPENDS on a
patient change (such as your default edit area field values).

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]