[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] Unhandled exception where encounter duration was not '
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] Unhandled exception where encounter duration was not 'sane' |
Date: |
Thu, 16 Oct 2014 12:08:47 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Close scrutiny of the log snippet shows why the UPDATE fails
(but not quite yet how it ended up that way):
> 2014-10-15 15:20:09 ERROR gm.db
> (/Users/djb/Downloads/gnumed-client.1.4.9/Gnumed/pycommon/gmPG2.py::run_rw_queries()
> #1365): RW query failed: [UPDATE clin.encounter SET
> started = cast('2014-10-15T11:30:00-07:00' as
> timestamp with time zone),
Note the "Oct 15th" ...
> last_affirmed =
> cast('2014-10-14T12:30:00-07:00' as timestamp with time zone),
... vs the "Oct 14th".
Speculation would have it that you did modify .last_affirmed
to be 12:30 but omitted to migrate it to Oct 15th as well
such that it retained its Oct 14th original content ?
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346