gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: erstellung einer Nachricht


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: erstellung einer Nachricht
Date: Sun, 12 Aug 2012 13:53:51 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Sveb,

thanks for your report.

> user comment  : erstellung einer Nachricht
> 
> client version: 1.2.2

You found a bug in that GNUmed fails to check whether the
expiry date is younger than the due date when saving a
message with both due and expiry date being defined:

> 2012-08-10 15:25:03  DEBUG     gm.gui 
> (c:\workplace\gnumed-client.1.2.2\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.wxpython.gmexceptionhandlingwidgets::handle_uncaught_exception_wx()
>  #186): unhandled exception caught:
...
> IntegrityError: new row for relation "message_inbox" violates check 
> constraint "dem_inbox_sane_expiry_date"
...
> 2012-08-10 15:25:03  DEBUG     gm.logging 
> (c:\workplace\gnumed-client.1.2.2\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmlog2::log_stack_trace()
>  #155): >>> execution frame [save_payload] in 
> [C:\workplace\gnumed-client.1.2.2\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmBusinessDBObject]
>  at line 562 <<<
...
> 2012-08-10 15:25:03  DEBUG     gm.logging 
> (c:\workplace\gnumed-client.1.2.2\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmlog2::log_stack_trace()
>  #170):                 args = {'comment': u'Testnachricht', 
> 'pk_inbox_message': 8, 'pk_type': 4, 'pk_patient': None, 'pk_context': None, 
> 'pk_staff': 5, 'xmin_message_inbox': 46092, 'category': u'administrative', 
> 'modified_by': u'SvGr', 'is_virtual': False, 'l10n_type': u'Memo', 
> 'provider': u'SvGr', 'type': u'memo', 'pk_category': 3, 'due_date': 
> datetime.datetime(2012, 8, 31, 11, 11, 11, 111111, 
> tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=120, name='02:00:00.00')), 
> 'importance': 1, 'received_when': datetime.datetime(2012, 8, 10, 15, 25, 2, 
> 967920, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=120, name=None)), 
> 'is_due': None, 'expiry_date': datetime.datetime(2012, 8, 31, 11, 11, 11, 
> 111111, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=120, 
> name='02:00:00.00')), 'data': u'hier ist ein Test mal sehen was ankommt', 
> 'l10n_category': u'Verwaltung', 'is_expired': False}

Fixed for 1.2.3.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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